Skip to content

Commit

Permalink
ci: Adds changelog and git
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Hui committed Feb 9, 2024
1 parent 7cea8e3 commit 521ba97
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:

- name: Install plugins
run: |
npm install @semantic-release/exec -D
npm install @semantic-release/exec @semantic-release/git @semantic-release/changelog -D
- name: Run Semantic Release
env:
Expand Down
16 changes: 16 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,22 @@
{
"prepareCmd": "python semantic_release_prepare.py ${nextRelease.version} ${branch.name} src/vers.hpp"
}
],
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
[
"@semantic-release/git",
{
"assets": [
"src/vers.hpp",
"CHANGELOG.md"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
}

0 comments on commit 521ba97

Please sign in to comment.