File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -53,15 +53,18 @@ jobs:
53
53
git config user.name "github-actions[bot]"
54
54
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
55
55
56
- npx bumpp ${{ env[inputs.version] }} -y -r --commit "chore(release): v%s"
56
+ npx bumpp ${{ env[inputs.version] }} -y -r --commit "chore(release): v%s" --no-push
57
57
58
- echo "RELEASE_REF=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT"
59
-
60
- - name : ⬆️ Bump Helm chart app version
61
- run : |
62
- VERSION=$(git describe --tags --abbrev=0 | sed 's/^v//') sed -E "s/^appVersion:.+$/appVersion: '$VERSION'/" -i install/kubernetes/github-actions-cache-server/Chart.yaml
58
+ export VERSION=$(git describe --tags --abbrev=0 | sed 's/^v//')
59
+ sed -E "s/^appVersion:.+$/appVersion: '$VERSION'/" -i install/kubernetes/github-actions-cache-server/Chart.yaml
63
60
git stage install/kubernetes/github-actions-cache-server/Chart.yaml
64
- git commit -nm "chore(release): update helm chart appVersion to $VERSION"
61
+ git commit -n --no-edit --amend
62
+ git tag -f "v$VERSION"
63
+
64
+ git push origin dev
65
+ git push origin --tags
66
+
67
+ echo "RELEASE_REF=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT"
65
68
66
69
- name : 📥 Create release PR
67
70
id : create-release-pr
You can’t perform that action at this time.
0 commit comments