From 5df3c08ec1900741a454f481ccaa817fc9951dd3 Mon Sep 17 00:00:00 2001 From: Hpsaturn Date: Wed, 5 Apr 2023 10:21:03 +0200 Subject: [PATCH] updated deploy tool with GCLI version --- deploy.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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`