Skip to content

Commit 4b7e275

Browse files
authored
Push snapshot commit earlier to avoid duplicate staging repo
1 parent 89e8fee commit 4b7e275

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

RELEASING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
- [ ] Commit with message "Release ${VERSION}"
1010
- [ ] Execute `./gradlew --no-build-cache --no-configuration-cache clean build publish closeSonatypeStagingRepository`
1111
- [ ] Tag current commit: `git tag -s -m ${VERSION} r${VERSION}`
12+
- [ ] Change `version`, `platformVersion`, and `vintageVersion` properties in `gradle.properties` on release branch to new development versions and commit with message "Back to snapshots for further development" or similar
1213
- [ ] Push release branch and tag to GitHub: `git push --set-upstream --follow-tags origin HEAD`
13-
- [ ] Trigger a [release build](https://github.com/junit-team/junit5/actions/workflows/release.yml): `gh workflow run --ref $(git rev-parse --abbrev-ref HEAD) -f releaseVersion=${VERSION} -f stagingRepoId=orgjunit-1234 release.yml`
14+
- [ ] Trigger a [release build](https://github.com/junit-team/junit5/actions/workflows/release.yml): `gh workflow run --ref r${VERSION} -f releaseVersion=${VERSION} -f stagingRepoId=orgjunit-1234 release.yml`
1415
- Select the release branch
1516
- Enter the version to be released
1617
- Enter the staging repository ID from the output of above Gradle build
1718

1819
## Post-release steps
1920

20-
- [ ] Change `version`, `platformVersion`, and `vintageVersion` properties in `gradle.properties` on release branch to new development versions and commit with message "Back to snapshots for further development" or similar and push to GitHub
2121
- [ ] Post about the new release:
2222
- [ ] [Mastodon](https://fosstodon.org/@junit)
2323
- [ ] [Bluesky](https://bsky.app/profile/junit.org)

0 commit comments

Comments
 (0)