Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump tonic and prost and start testing against the 1.18.0 version of the agones-sdk-server #5

Merged
merged 2 commits into from
Nov 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

<!-- next-header -->
## [Unreleased] - ReleaseDate

- [PR#5](https://github.com/EmbarkStudios/rymder/pull/5) bump tonic to `0.6` and prost to `0.9`

## [0.2.2] - 2021-09-03

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ async-stream = "0.3"
chrono = "0.4"
futures-util = "0.3"
http = "0.2"
prost = "0.8"
prost = "0.9"

[dependencies.tokio]
version = "1.0"
default-features = false
features = ["sync", "time"]

[dependencies.tonic]
version = "0.5"
version = "0.6"
default-features = false
features = [
"codegen",
Expand Down
8 changes: 7 additions & 1 deletion download-sdk-server.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
#!/usr/bin/env bash
set -e

if [ -z "$1" ]
then
echo "Platform not supplied, expected either of linux, darwin or windows"
exit 1
fi

which=$1
agones_version="1.16.0"
agones_version="1.18.0"

# unzip doesn't support stdin streams so we need to use a temp file
server_zip=$(mktemp)
Expand Down
2 changes: 1 addition & 1 deletion update/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ publish = false
[dependencies]
reqwest = { version = "0.11", default-features = false, features = ["blocking", "rustls-tls"] }
zip = "0.5"
tonic-build = { version = "0.5", default-features = false, features = ["prost", "rustfmt", "transport"] }
tonic-build = { version = "0.6", default-features = false, features = ["prost", "rustfmt", "transport"] }
2 changes: 1 addition & 1 deletion update/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ fn main() {
.nth(1)
.expect("version argument not specified");

let version = version.strip_prefix("v").unwrap_or(&version);
let version = version.strip_prefix('v').unwrap_or(&version);

let zip = reqwest::blocking::get(format!(
"https://github.com/googleforgames/agones/archive/refs/tags/v{}.zip",
Expand Down