Skip to content

Commit

Permalink
feat(mercury): add semantic-release automation
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Baliasnikov committed Oct 21, 2022
1 parent 8ad3be0 commit 44d1c5b
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions mercury/prism-mediator/package.json
@@ -0,0 +1,55 @@
{
"name": "mercury",
"devDependencies": {
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"conventional-changelog-conventionalcommits": "^5.0.0",
"gradle-semantic-release-plugin": "1.7.3",
"husky": "^8.0.1",
"pinst": "^3.0.0",
"prettier": "^2.7.1",
"semantic-release": "^19.0.3",
"semantic-release-monorepo": "^7.0.5"
},
"extends": "semantic-release-monorepo",
"release": {
"branches": [
{
"name": "main"
},
{
"name": "prerelease/mercury",
"prerelease": "true"
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/exec",
{
"prepareCmd": "sbt \"release release-version ${nextRelease.version} next-version ${nextRelease.version}-SNAPSHOT with-defaults\""
}
],
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
[
"@semantic-release/git",
{
"assets": [
"version.sbt",
"CHANGELOG.md"
],
"message": "chore(release): cut mercury ${nextRelease.version} release [skip ci]\n\n${nextRelease.notes}"
}
]
]
}
}

0 comments on commit 44d1c5b

Please sign in to comment.