Skip to content

Commit 8be949c

Browse files
authored
ci: add a changeset after bumping the appVersion (#97)
PR like this https://github.com/hyperdxio/helm-charts/pull/96 should contain the changeset
1 parent 76c6da5 commit 8be949c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/update-app-version.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,17 @@ jobs:
2525
run: |
2626
sed -i "s/^appVersion: .*/appVersion: ${{ github.event.inputs.tag }}/" charts/hdx-oss-v2/Chart.yaml
2727
28+
- name: Create changeset
29+
run: |
30+
mkdir -p .changeset
31+
cat > .changeset/update-app-version-${{ github.event.inputs.tag }}.md << 'EOF'
32+
---
33+
"hdx-oss-v2": patch
34+
---
35+
36+
chore: update appVersion to ${{ github.event.inputs.tag }}
37+
EOF
38+
2839
- name: Create Pull Request
2940
uses: peter-evans/create-pull-request@v5
3041
with:

0 commit comments

Comments
 (0)