Skip to content

Commit

Permalink
chore: simplify and remove changelog release
Browse files Browse the repository at this point in the history
Signed-off-by: msclock <[email protected]>
  • Loading branch information
msclock committed Mar 31, 2024
1 parent eaffcb3 commit f316f85
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 28 deletions.
21 changes: 1 addition & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,27 +50,8 @@ jobs:
uses: cycjimmy/semantic-release-action@v4
id: semantic
with:
semantic_version: 22.0.5
branches: |
[
'+([0-9])?(.{+([0-9]),x}).x',
'master',
'main',
'next',
'next-major',
{
name: 'beta',
prerelease: true
},
{
name: 'alpha',
prerelease: true
}
]
semantic_version: 22
extra_plugins: |
@semantic-release/changelog
@semantic-release/git
@semantic-release/exec
@semantic-release/github
conventional-changelog-conventionalcommits
env:
Expand Down
22 changes: 14 additions & 8 deletions .releaserc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
module.exports = {
branches: [
'+([0-9])?(.{+([0-9]),x}).x',
'master',
'next',
'next-major',
{
name: 'beta',
prerelease: true
},
{
name: 'alpha',
prerelease: true
}
],
dryRun: false,
plugins: [
[
Expand Down Expand Up @@ -49,14 +63,6 @@ module.exports = {
},
},
],
["@semantic-release/changelog", { changelogFile: "CHANGELOG.md" }],
[
"@semantic-release/git",
{
assets: ["CHANGELOG.md"],
message: "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
},
],
"@semantic-release/github",
],
};

0 comments on commit f316f85

Please sign in to comment.