mirror of
https://github.com/GTNewHorizons/Postea.git
synced 2026-11-18 11:29:22 +00:00
fix update-version.sh not pushing HEAD to branch
This commit is contained in:
1 parent
62988f1c0a
commit
7a4593ecc9
2 files changed
+2
-2
No files matched your search
@@ -3,7 +3,7 @@ if [ ! -z $(git diff --name-only HEAD HEAD~1 | grep build.gradle) ]; then
|
||||
sed --in-place "s!//version:.*!//version: $new_version!g" build.gradle
|
||||
git add build.gradle
|
||||
git commit -m "[ci skip] update build script version to $new_version"
|
||||
git push origin ${GITHUB_REF##*/}
|
||||
git push origin HEAD:${GITHUB_REF##*/}
|
||||
echo "Updated buildscript version to $new_version";
|
||||
else
|
||||
echo "Ignored buildscript version update: no changes detected"
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
//version: commit hash placeholder; dummy changes to test automatic version update
|
||||
//version: commit hash placeholder
|
||||
/*
|
||||
DO NOT CHANGE THIS FILE!
|
||||
|
||||
|
||||
Reference in new issue
Block a user