Compare commits
No commits in common. "5b3f35f024f1d00bdef346da12ca9861662305c8" and "48872e654499f0e1b71c03f51f8d145281436e64" have entirely different histories.
5b3f35f024
...
48872e6544
2 changed files with 1 additions and 54 deletions
|
@ -11,20 +11,13 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||
|
||||
- name: setup node
|
||||
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
|
||||
- uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
|
||||
with:
|
||||
node-version: 20
|
||||
|
||||
- name: semantic release
|
||||
shell: bash
|
||||
run: |
|
||||
npm install \
|
||||
@semantic-release/gitea \
|
||||
conventional-changelog-conventionalcommits \
|
||||
@semantic-release/git \
|
||||
@semantic-release/changelog
|
||||
|
||||
npx semantic-release
|
||||
|
||||
# TODO extract dedicated action
|
||||
|
|
|
@ -1,46 +0,0 @@
|
|||
module.exports = {
|
||||
"branches": [
|
||||
"main"
|
||||
],
|
||||
"plugins": [
|
||||
"@semantic-release/commit-analyzer",
|
||||
[
|
||||
"@semantic-release/release-notes-generator",
|
||||
{
|
||||
"linkCompare": true,
|
||||
"linkReferences": true,
|
||||
"writerOpts": {
|
||||
"groupBy": "type",
|
||||
"commitGroupsSort": "title",
|
||||
"commitsSort": "header"
|
||||
}
|
||||
}
|
||||
],
|
||||
[
|
||||
"@semantic-release/changelog",
|
||||
{
|
||||
"changelogFile": "CHANGELOG.md"
|
||||
}
|
||||
],
|
||||
[
|
||||
"@semantic-release/git",
|
||||
{
|
||||
"message": "chore(release): ${nextRelease.version}",
|
||||
"assets": [
|
||||
"CHANGELOG.md"
|
||||
]
|
||||
}
|
||||
],
|
||||
[
|
||||
"@semantic-release/gitea",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"preset": "conventionalcommits",
|
||||
"parserOpts": {
|
||||
"issuePrefixes": [
|
||||
"#"
|
||||
],
|
||||
"issueUrlFormat": `${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/issues/{{id}}`
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue