Skip to content

Commit

Permalink
ci: fix verifying version before publishing release
Browse files Browse the repository at this point in the history
  • Loading branch information
stempler committed Mar 30, 2024
1 parent 7d1754d commit ccfeaca
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .releaserc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,15 @@ plugins:
- - "@semantic-release/release-notes-generator"
- "@semantic-release/changelog"
- - "@semantic-release/exec"
- publishCmd: ./gradlew publishPlugins
- # verifyRelease - Tag has not been created (is cretaed after prepare) and version
# has not been set at this point, so verification is not possible
# verifyReleaseCmd: ./gradlew verifyReleaseVersion

# prepare - set release version
prepareCmd: ./gradlew "-PnewVersion=${nextRelease.version}" setReleaseVersion
verifyReleaseCmd: ./gradlew verifyReleaseVersion

# publish - verify that version is release version and perform publishing tasks
publishCmd: ./gradlew verifyReleaseVersion publishPlugins
- - "@semantic-release/git"
- assets:
- CHANGELOG.md
Expand Down

0 comments on commit ccfeaca

Please sign in to comment.