mirror of
https://github.com/GTNewHorizons/Postea.git
synced 2026-11-12 00:17:47 +00:00
debug to check if branch name is correctly obtained
This commit is contained in:
1 parent
82c8c9dcad
commit
c926328a0e
1 file changed
+2
-1
@@ -1,4 +1,5 @@
|
||||
git checkout ${GITHUB_REF##*/}
|
||||
echo "Currently only ${GITHUB_REF_NAME}"
|
||||
git checkout $GITHUB_REF_NAME
|
||||
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