Skip to content

Commit cabebda

Browse files
chore: Fix launchy release CI (#70)
1 parent 67af5db commit cabebda

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/publish-release.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,30 @@ jobs:
2424
fetch-depth: 0
2525
token: ${{ secrets.PRIVATE_TOKEN }}
2626

27-
- uses: actions/setup-node@v3
27+
- uses: actions/setup-node@v4
2828
with:
2929
node-version: 16
30-
- run: npm install conventional-changelog-conventionalcommits
30+
- run: |
31+
npm install [email protected]
32+
npm install [email protected]
33+
34+
- name: Set up version.json
35+
run: echo "{"version":$(git describe --tags --abbrev=0)}" > version.json
3136

3237
- name: Create changelog
3338
id: changelog
34-
uses: TriPSs/conventional-changelog-action@v3.17.0
39+
uses: TriPSs/conventional-changelog-action@v5.2.1
3540
with:
3641
github-token: ${{ secrets.PRIVATE_TOKEN }}
3742
git-user-name: 'WynntilsBot'
3843
git-user-email: '[email protected]'
3944
pre-commit: ./.github/.pre-commit.js
4045
config-file-path: ./.github/.config.js
46+
version-file: ./version.json
4147
skip-version-file: true
4248
skip-git-pull: true
49+
pre-release: false
50+
release-count: 5
4351

4452
- name: Create release
4553
if: ${{ steps.changelog.outputs.skipped != 'true' }}

0 commit comments

Comments
 (0)