diff --git a/deploy.sh b/deploy.sh index c90ad97..55b9751 100755 --- a/deploy.sh +++ b/deploy.sh @@ -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`