mirror of
https://github.com/GTNewHorizons/Postea.git
synced 2026-11-13 00:47:53 +00:00
run buildscript-maintenance.yml on all branch pushes
This commit is contained in:
1 parent
c926328a0e
commit
9e47698f90
2 files changed
+3
-7
No files matched your search
@@ -1,5 +1,5 @@
|
||||
echo "Currently only ${GITHUB_REF_NAME}"
|
||||
git checkout $GITHUB_REF_NAME
|
||||
echo "Currently on ${GITHUB_REF##*/}"
|
||||
git checkout ${GITHUB_REF##*/}
|
||||
if [ ! -z $(git diff --name-only HEAD HEAD~1 | grep build.gradle) ]; then
|
||||
new_version="$(git log -n1 --format=format:"%H")"
|
||||
sed --in-place "s!//version:.*!//version: $new_version!g" build.gradle
|
||||
|
||||
Reference in new issue
Block a user