Skip to content

Commit d7cd8f7

Browse files
Setup version bump action
1 parent 76002fd commit d7cd8f7

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/publish-extension.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,23 @@ on:
88
jobs:
99
cd:
1010
runs-on: ubuntu-latest
11-
11+
permissions:
12+
contents: write
1213
steps:
1314
- name: Checkout to branch
1415
uses: actions/checkout@v4
15-
1616
- name: Setup node.js
1717
uses: actions/setup-node@v4
1818
with:
1919
node-version: 20
20+
- name: "Bump version"
21+
uses: 'phips28/gh-action-bump-version@master'
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.REPO_TOKEN }}
24+
minor-wording: '#add'
25+
major-wording: '#major'
26+
patch-wording: '#patch,#fix'
27+
rc-wording: '#release'
2028
- name: Install packages
2129
run: npm ci
2230

0 commit comments

Comments
 (0)