diff --git a/Cargo.lock b/Cargo.lock index cc453ed..c42c7b7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -84,7 +84,7 @@ dependencies = [ [[package]] name = "api" -version = "1.1.0" +version = "1.1.1" dependencies = [ "axum", "bitcode", diff --git a/release.py b/release.py index 5069e52..2097b7b 100644 --- a/release.py +++ b/release.py @@ -8,7 +8,7 @@ def get_release_version(): cargo_toml_path = os.path.join(os.path.dirname(__file__), 'Cargo.toml') - with open(cargo_toml_path, 'r') as f: + with open(cargo_toml_path, 'r', encoding="UTF-8") as f: cargo_toml = toml.load(f) return cargo_toml['package']['version'] @@ -24,8 +24,8 @@ docker tag registry.nyeki.dev/nyeki/api:latest registry.nyeki.dev/nyeki/api:v{ve docker push registry.nyeki.dev/nyeki/api:v{version} git add . -git commit -m "Release {version} version" -git tag -a v{version} -m "Release version {version}" +git commit -m "Release version v{version}" +git tag -a v{version} -m "Release version v{version}" git push origin main git push origin v{version} """