Skip to content

Commit 09a78e1

Browse files
committed
ci(release): bump helm chart after tag creation
1 parent 91e067e commit 09a78e1

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,17 @@ jobs:
5858
git config user.name "github-actions[bot]"
5959
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
6060
61+
npx bumpp ${{ env[inputs.version] }} -y -r --commit "chore(release): v%s"
62+
63+
echo "RELEASE_REF=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT"
64+
65+
- name: ⬆️ Bump Helm chart app version
66+
run: |
6167
VERSION=$(git describe --tags --abbrev=0 | sed 's/^v//')
6268
yq e -i '.appVersion = env(VERSION)' install/kubernetes/github-actions-cache-server/Chart.yaml
6369
git stage install/kubernetes/github-actions-cache-server/Chart.yaml
6470
git commit -nm "chore(release): update helm chart appVersion to $VERSION"
6571
66-
npx bumpp ${{ env[inputs.version] }} -y -r --commit "chore(release): v%s"
67-
68-
echo "RELEASE_REF=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT"
69-
7072
- name: 📥 Create release PR
7173
id: create-release-pr
7274
run: |

0 commit comments

Comments
 (0)