Skip to content

Commit

Permalink
fix(release): correctly enable semantic commit conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
DanySK committed Jan 6, 2022
1 parent ed191d9 commit b9785cb
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 16 deletions.
16 changes: 0 additions & 16 deletions .releaserc.yml

This file was deleted.

19 changes: 19 additions & 0 deletions release.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
var publishCmd = `
git tag -a -f \${nextRelease.version} \${nextRelease.version} -F CHANGELOG.md
git push --force origin \${nextRelease.version}
./gradlew releaseKotlin
./gradlew publishPlugins -Pgradle.publish.key=$GRADLE_PUBLISH_KEY -Pgradle.publish.secret=$GRADLE_PUBLISH_SECRET
./gradlew publishKotlinMavenPublicationToGithubRepository || true
`
var config = require('semantic-release-preconfigured-conventional-commits');
config.plugins.push(
[
"@semantic-release/exec",
{
"publishCmd": publishCmd,
}
],
"@semantic-release/github",
"@semantic-release/git",
)
module.exports = config

0 comments on commit b9785cb

Please sign in to comment.