Skip to content

Commit

Permalink
Revert "Use latest upstream instead of local branch for tags (helm#153)"
Browse files Browse the repository at this point in the history
This reverts commit 5cb2b8c because it
prevented releasing bug fixes for previous versions from non-master
branches.

Signed-off-by: Reinhard Naegele <[email protected]>
  • Loading branch information
unguiculus committed Apr 2, 2020
1 parent 8145267 commit fc4a99a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ main() {

pushd "$SCRIPT_DIR" > /dev/null

git fetch "$remote"
git tag -a -m "Release $tag" "$tag" "$remote/master" "${force[@]}"
git tag -a -m "Release $tag" "$tag" "${force[@]}"

if [[ -z "$skip_push" ]]; then
git push "$remote" "refs/tags/$tag" "${force[@]}"
Expand Down

0 comments on commit fc4a99a

Please sign in to comment.