Update commit messages on release
This commit is contained in:
Generated
+1
-1
@@ -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
@@ -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}
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user