From c603fc43dd69d9e4d0c7fdd24794666daf66ea5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reinhard=20N=C3=A4gele?= Date: Thu, 2 Apr 2020 21:45:05 +0200 Subject: [PATCH] =?UTF-8?q?Revert=20"Use=20latest=20upstream=20instead=20o?= =?UTF-8?q?f=20local=20branch=20for=20tags=20(#1=E2=80=A6=20(#224)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 8a5c039..f635fd0 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[@]}"