Update commit messages on release
This commit is contained in:
Generated
+1
-1
@@ -84,7 +84,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "api"
|
||||
version = "1.1.0"
|
||||
version = "1.1.1"
|
||||
dependencies = [
|
||||
"axum",
|
||||
"bitcode",
|
||||
|
||||
+3
-3
@@ -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}
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user