From 65b83e18e73d368b98d48fbf28d6a992a7afc097 Mon Sep 17 00:00:00 2001 From: James Strachan Date: Wed, 24 Mar 2021 11:34:52 +0000 Subject: [PATCH] fix: upgrade git tag on release --- .lighthouse/jenkins-x/release.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.lighthouse/jenkins-x/release.yaml b/.lighthouse/jenkins-x/release.yaml index c6bee01db..80c6ba53f 100755 --- a/.lighthouse/jenkins-x/release.yaml +++ b/.lighthouse/jenkins-x/release.yaml @@ -70,6 +70,17 @@ spec: resources: {} - name: release-chart resources: {} + - name: upload-binaries + resources: {} + script: | + #!/bin/bash + source .jx/variables.sh + + git add * || true + git add * || true + git commit -a -m "chore: release $VERSION" --allow-empty + git tag -fa v$VERSION -m "Release version $VERSION" + git push --force origin v$VERSION - name: promote-release resources: {} podTemplate: {}