From 3373363f43fb0c73db03d96de972f00c453748df Mon Sep 17 00:00:00 2001 From: Rafael Bradley Date: Sun, 13 Jul 2025 19:21:58 +0000 Subject: [PATCH] Update commit messages on release --- Cargo.lock | 2 +- release.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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} """