From fc4a99ab1a06a734fb698ee4c03e8ab88bf89c51 Mon Sep 17 00:00:00 2001 From: Reinhard Naegele Date: Thu, 2 Apr 2020 21:29:35 +0200 Subject: [PATCH] Revert "Use latest upstream instead of local branch for tags (#153)" This reverts commit 5cb2b8c2359e3402a7f4122c2a1acb235a8f30d9 because it prevented releasing bug fixes for previous versions from non-master branches. Signed-off-by: Reinhard Naegele --- tag.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tag.sh b/tag.sh index 8a5c0392..f635fd0d 100755 --- a/tag.sh +++ b/tag.sh @@ -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[@]}"