Skip to content

Commit

Permalink
ci: remove changelog, add release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
Anush008 committed Aug 25, 2023
1 parent 4b68ed4 commit f13d42e
Show file tree
Hide file tree
Showing 3 changed files with 713 additions and 311 deletions.
238 changes: 152 additions & 86 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -1,90 +1,156 @@
{
"branches":[
"master",
"next",
{
"name":"beta",
"prerelease":true
}
"branches": [
"master",
"next",
{
"name": "beta",
"prerelease": true
}
],
"plugins":[
[
"@semantic-release/commit-analyzer",
{
"preset":"conventionalcommits",
"releaseRules":[
{
"breaking":true,
"release":"major"
},
{
"type":"feat",
"release":"minor"
},
{
"type":"fix",
"release":"patch"
},
{
"type":"perf",
"release":"patch"
},
{
"type":"revert",
"release":"patch"
},
{
"type":"docs",
"release":"minor"
},
{
"type":"style",
"release":"patch"
},
{
"type":"refactor",
"release":"patch"
},
{
"type":"test",
"release":"patch"
},
{
"type":"build",
"release":"patch"
},
{
"type":"ci",
"release":"patch"
},
{
"type":"chore",
"release":false
}
]
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"releaseRules": [
{
"breaking": true,
"release": "major"
},
{
"type": "feat",
"release": "minor"
},
{
"type": "fix",
"release": "patch"
},
{
"type": "perf",
"release": "patch"
},
{
"type": "revert",
"release": "patch"
},
{
"type": "docs",
"release": "minor"
},
{
"type": "style",
"release": "patch"
},
{
"type": "refactor",
"release": "patch"
},
{
"type": "test",
"release": "patch"
},
{
"type": "build",
"release": "patch"
},
{
"type": "ci",
"release": "patch"
},
{
"type": "chore",
"release": false
}
]
}
],
"@semantic-release/release-notes-generator",
"@semantic-release/github",
[
"semantic-release-cargo",
{
"allFeatures": true,
"check": true,
"publishArgs": [
"--no-verify"
]
}
],
[
"@semantic-release/git",
{
"assets": [
"Cargo.toml"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"parserOpts": {
"noteKeywords": [
"BREAKING CHANGE",
"BREAKING CHANGES",
"BREAKING"
]
},
"writerOpts": {
"commitsSort": [
"subject",
"scope"
]
},
"presetConfig": {
"types": [
{
"type": "feat",
"section": "πŸ• Features"
},
{
"type": "feature",
"section": "πŸ• Features"
},
{
"type": "fix",
"section": "πŸ› Bug Fixes"
},
{
"type": "perf",
"section": "πŸ”₯ Performance Improvements"
},
{
"type": "revert",
"section": "⏩ Reverts"
},
{
"type": "docs",
"section": "πŸ“ Documentation"
},
{
"type": "style",
"section": "🎨 Styles"
},
{
"type": "refactor",
"section": "πŸ§‘β€πŸ’» Code Refactoring"
},
{
"type": "test",
"section": "βœ… Tests"
},
{
"type": "build",
"section": "πŸ€– Build System"
},
{
"type": "ci",
"section": "πŸ” Continuous Integration"
}
]
}
],
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/github",
[
"semantic-release-cargo",
{
"allFeatures":true,
"check":true,
"publishArgs":[
"--no-verify"
]
}
],
[
"@semantic-release/git",
{
"assets":[
"Cargo.toml"
],
"message":"chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
}
]
]
}
}
Loading

0 comments on commit f13d42e

Please sign in to comment.