Skip to content

Commit

Permalink
pull: Make sure the pull-tag is never signed
Browse files Browse the repository at this point in the history
.. so git doesn't prompt for a tag message
  • Loading branch information
andsens committed Sep 23, 2024
1 parent e465842 commit ea9511a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/commands/pull.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pull() {
(cd "$repo" && git rev-parse --verify "refs/tags/$BEFORE_PULL_TAG" &>/dev/null) && \
err "$EX_DATAERR" "Pull marker tag ($BEFORE_PULL_TAG) already exists in $repo. Please resolve this before pulling."
# make a tag at the current commit, so we can compare against it below
(cd "$repo" && git tag "$BEFORE_PULL_TAG" 2>&1)
(cd "$repo" && git tag --no-sign "$BEFORE_PULL_TAG" 2>&1)
# remove the tag if one of the git operations fails
trap 'cd "$repo" && git tag -d "$BEFORE_PULL_TAG" &>/dev/null' EXIT

Expand Down

0 comments on commit ea9511a

Please sign in to comment.