We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7c0d5c commit c4d0c89Copy full SHA for c4d0c89
github-cli.sh
@@ -68,12 +68,11 @@ create_tag(){
68
git config user.email "githubcli@github.com"
69
git config user.name "Github CLI"
70
71
- git commit -a -m "Releasing ${APP_VERSION}" || true
72
git tag ${APP_VERSION}
73
74
local REMOTE="https://${REPO_TOKEN}@github.com/${USERNAME}/${REPOSITORY}.git"
75
local LAST_COMMIT=$(git log --oneline | awk '{print $1}' | head -n1)
76
- git push "$REMOTE" "$LAST_COMMIT:$CURRENT_BRANCH" --tags
+ git push "$REMOTE" --tags
77
git status
78
echo "> Pushed ${LAST_COMMIT} to ${CURRENT_BRANCH}" >&2
79
}
0 commit comments