Skip to content

Commit

Permalink
ci: updating releases
Browse files Browse the repository at this point in the history
  • Loading branch information
aacevski committed Jan 25, 2025
1 parent ad6923b commit 8f1b9b8
Showing 1 changed file with 19 additions and 9 deletions.
28 changes: 19 additions & 9 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
generate-changelog:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
contents: write
steps:
Expand All @@ -15,12 +15,22 @@ jobs:
with:
fetch-depth: 0

- name: Generate Changelog
uses: TriPSs/conventional-changelog-action@v5
- name: Set up Node.js
uses: actions/setup-node@v4
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
output-file: CHANGELOG.md
git-push: true
create-release: true
release-count: 1
release-type: patch
node-version: 20

- name: Install standard-version
run: npm install -g standard-version

- name: Configure Git
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
- name: Bump version and generate changelog (patch)
run: npx standard-version --release-as patch

- name: Push changes
run: |
git push --follow-tags origin main

0 comments on commit 8f1b9b8

Please sign in to comment.