Skip to content

Commit c4d0c89

Browse files
author
Github CLI
committed
don't make commits
1 parent e7c0d5c commit c4d0c89

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

github-cli.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,11 @@ create_tag(){
6868
git config user.email "githubcli@github.com"
6969
git config user.name "Github CLI"
7070

71-
git commit -a -m "Releasing ${APP_VERSION}" || true
7271
git tag ${APP_VERSION}
7372

7473
local REMOTE="https://${REPO_TOKEN}@github.com/${USERNAME}/${REPOSITORY}.git"
7574
local LAST_COMMIT=$(git log --oneline | awk '{print $1}' | head -n1)
76-
git push "$REMOTE" "$LAST_COMMIT:$CURRENT_BRANCH" --tags
75+
git push "$REMOTE" --tags
7776
git status
7877
echo "> Pushed ${LAST_COMMIT} to ${CURRENT_BRANCH}" >&2
7978
}

0 commit comments

Comments
 (0)