Skip to content

Commit

Permalink
fix: update ci to resolve v3 alpha release
Browse files Browse the repository at this point in the history
BREAKING CHANGE: v3 alpha
  • Loading branch information
nghaninn committed Oct 16, 2024
1 parent b2c7a11 commit 148cfa1
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 2 deletions.
76 changes: 75 additions & 1 deletion .releaserc
Original file line number Diff line number Diff line change
@@ -1,14 +1,88 @@
{
"branches": [
{
"name": "main",
"name": "master",
"release": true
},
{
"name": "v3",
"prerelease": "alpha"
}
],
"tagFormat": "v${version}",
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"releaseRules": [
{
"subject": "*BREAKING CHANGE*",
"release": "major"
},
{
"footer": "*BREAKING CHANGE*",
"release": "major"
},
{
"type": "feat",
"release": "minor"
},
{
"type": "fix",
"release": "patch"
},
{
"type": "perf",
"release": "patch"
}
]
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{
"type": "feat",
"section": "Features",
"hidden": false
},
{
"type": "fix",
"section": "Bug Fixes",
"hidden": false
},
{
"type": "docs",
"section": "Miscellaneous Chores",
"hidden": false
},
{
"type": "chore",
"section": "Miscellaneous Chores",
"hidden": false
}
]
},
"parserOpts": {
"noteKeywords": [
"BREAKING CHANGE",
"BREAKING CHANGES",
"BREAKING"
]
}
}
],
[
"@semantic-release/npm",
{
"npmPublish": true
}
],
"@semantic-release/github"
],
"prepare": [
"@semantic-release/npm",
{
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"benchmark:full": "npm run benchmark:make-certs && npm run benchmark:run && npm run benchmark:clean",
"prepare": "snyk-protect",
"benchmark": "ts-node performance-tests/wrap-performance-test.ts",
"pkg": "npx pkg ./package.json --out-path dist/@tradetrust-tt"
"pkg": "npx pkg ./package.json --out-path dist/@tradetrust-tt",
"release:dryrun": "semantic-release --dry-run --no-ci"
},
"author": "",
"devDependencies": {
Expand Down

0 comments on commit 148cfa1

Please sign in to comment.