aboutsummaryrefslogtreecommitdiff
path: root/docs/release_script.sh
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-07-11 02:21:41 +0200
committerLinnea Gräf <nea@nea.moe>2024-07-11 02:21:41 +0200
commite683aa1e6c2e6efe2502e78f23c86fbb9d4b86fe (patch)
treeb867cc90b4a3cc9dfced6731fa9a189a302c4788 /docs/release_script.sh
parentfeca9c937be40bfed255e6574dea70d640fdafea (diff)
downloadFirmament-e683aa1e6c2e6efe2502e78f23c86fbb9d4b86fe.tar.gz
Firmament-e683aa1e6c2e6efe2502e78f23c86fbb9d4b86fe.tar.bz2
Firmament-e683aa1e6c2e6efe2502e78f23c86fbb9d4b86fe.zip
Add auto version generator
[no changelog]
Diffstat (limited to 'docs/release_script.sh')
-rwxr-xr-xdocs/release_script.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/docs/release_script.sh b/docs/release_script.sh
index 6f22c13..5026dfd 100755
--- a/docs/release_script.sh
+++ b/docs/release_script.sh
@@ -121,11 +121,8 @@ echo -n "Choosing next version as: "
read newversion
echo "Confirming new version as $newversion"
-echo Editing gradle.properties
-sed -i -E 's/(mod_version *= *).*/\1'"$newversion"'/' "$basedir"/gradle.properties
-git add gradle.properties
echo Committing release commit
-git commit -m 'Prepare release '"$newversion"'
+git commit --allow-empty -m 'Prepare release '"$newversion"'
[no changelog]'
echo Tagging release commit