Skip to content

Commit

Permalink
chore: update release command
Browse files Browse the repository at this point in the history
  • Loading branch information
davidedomini committed Apr 17, 2023
1 parent b74c464 commit 73fec4b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ const publishCommands = `
git tag -a -f \${nextRelease.version} \${nextRelease.version} -F CHANGELOG.md || exit 2
git push --force origin \${nextRelease.version} || exit 3
./gradlew clean build
./gradlew uploadAllPublicationsToMavenCentralNexus
./gradlew closeStagingRepositoryOnMavenCentral
./gradlew releaseStagingRepositoryOnMavenCentral
./gradlew uploadAllPublicationsToMavenCentralNexus releaseStagingRepositoryOnMavenCentral
`
// Only release on branch main
const releaseBranches = ["main"]
Expand Down

0 comments on commit 73fec4b

Please sign in to comment.