1
0
mirror of https://github.com/helm/chart-testing.git synced 2026-02-05 09:45:14 +01:00

Revert "Use latest upstream instead of local branch for tags (#1… (#224)

This reverts commit 5cb2b8c235 because it
prevented releasing bug fixes for previous versions from non-master
branches.

Signed-off-by: Reinhard Naegele <unguiculus@gmail.com>
This commit is contained in:
Reinhard Nägele
2020-04-02 21:45:05 +02:00
committed by GitHub
parent 814526768c
commit c603fc43dd

3
tag.sh
View File

@@ -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[@]}"