Skip to content

Commit

Permalink
chore: Fix launchy release CI (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
kristofbolyai authored Aug 5, 2024
1 parent 67af5db commit cabebda
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,30 @@ jobs:
fetch-depth: 0
token: ${{ secrets.PRIVATE_TOKEN }}

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16
- run: npm install conventional-changelog-conventionalcommits
- run: |
npm install [email protected]
npm install [email protected]
- name: Set up version.json
run: echo "{"version":$(git describe --tags --abbrev=0)}" > version.json

- name: Create changelog
id: changelog
uses: TriPSs/conventional-changelog-action@v3.17.0
uses: TriPSs/conventional-changelog-action@v5.2.1
with:
github-token: ${{ secrets.PRIVATE_TOKEN }}
git-user-name: 'WynntilsBot'
git-user-email: '[email protected]'
pre-commit: ./.github/.pre-commit.js
config-file-path: ./.github/.config.js
version-file: ./version.json
skip-version-file: true
skip-git-pull: true
pre-release: false
release-count: 5

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

0 comments on commit cabebda

Please sign in to comment.