Update commit messages on release

This commit is contained in:
2025-07-13 19:21:58 +00:00
parent 123cdc65e3
commit 3373363f43
2 changed files with 4 additions and 4 deletions
Generated
+1 -1
View File
@@ -84,7 +84,7 @@ dependencies = [
[[package]] [[package]]
name = "api" name = "api"
version = "1.1.0" version = "1.1.1"
dependencies = [ dependencies = [
"axum", "axum",
"bitcode", "bitcode",
+3 -3
View File
@@ -8,7 +8,7 @@ def get_release_version():
cargo_toml_path = os.path.join(os.path.dirname(__file__), 'Cargo.toml') 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) cargo_toml = toml.load(f)
return cargo_toml['package']['version'] 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} docker push registry.nyeki.dev/nyeki/api:v{version}
git add . git add .
git commit -m "Release {version} version" git commit -m "Release version v{version}"
git tag -a v{version} -m "Release version {version}" git tag -a v{version} -m "Release version v{version}"
git push origin main git push origin main
git push origin v{version} git push origin v{version}
""" """