Skip to content

Commit

Permalink
updated deploy tool with GCLI version
Browse files Browse the repository at this point in the history
  • Loading branch information
hpsaturn committed Apr 5, 2023
1 parent bae70ab commit 5df3c08
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@ publish_release () {
echo "********** Publishing release *****************"
echo "***********************************************"
echo ""
COMMIT_LOG=`git log -1 --format='%ci %H %s'`
github-release upload --owner kike-canaries --repo canairio_android --tag "rev${SRC_REV}" --release-name "rev${SRC_REV} v${SRC_VER}" --body "${COMMIT_LOG}" $OUTPUT
git tag -a "v${SRC_VER}" -m "release v${SRC_VER} rev${SRC_REV}"
git push origin "v${SRC_VER}"
git log -n 10 --pretty=format:"%h %s" | gh release create "v${SRC_VER}" -F - -t "v${SRC_VER}" -p ${OUTPUT}
}

current_branch=`git rev-parse --abbrev-ref HEAD`
Expand Down

0 comments on commit 5df3c08

Please sign in to comment.