Skip to content

Commit

Permalink
(chore): add .releaserc.json to handle release next version on branch…
Browse files Browse the repository at this point in the history
… main
  • Loading branch information
francescopisu committed Oct 24, 2022
1 parent 206fa98 commit 1805b06
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 10 deletions.
24 changes: 24 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"branches": [
"main"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
[
"@semantic-release/git",
{
"assets": "./CHANGELOG.md"
}
],
[
"@semantic-release/exec",
{
"publishCmd": ".semantic-release/publish.sh ${nextRelease.version}"
}
]
],
"tagFormat": "deploy-${version}",
"repositoryUrl": "https://github.com/francescopisu/CVD-risk-scores"
}
10 changes: 0 additions & 10 deletions .semantic-release/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,5 @@
"@semantic-release/changelog": "6.0.1",
"@semantic-release/exec": "6.0.3",
"@semantic-release/git": "10.0.1"
},
"release": {
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
"main",
"next",
"next-major",
{ "name": "beta", "prerelease": true },
{ "name": "alpha", "prerelease": true }
]
}
}
1 change: 1 addition & 0 deletions .semantic-release/publish.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
echo "$1" > /tmp/CVD-risk-scores-next-tag

0 comments on commit 1805b06

Please sign in to comment.