Skip to content

Commit

Permalink
[#1504] add manual step for testing on Java 5 to release process
Browse files Browse the repository at this point in the history
Closes #1504
  • Loading branch information
remkop committed Dec 8, 2021
1 parent d99afd2 commit 403c217
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion RELEASE-NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Picocli follows [semantic versioning](http://semver.org/).
* [#1461] BUILD: Allow publishing without signing for non-release versions. Thanks to [Andreas Deininger](https://github.com/deining) for raising this.
* [#1459] BUILD: The nexus-staging Gradle plugin must be applied to the root project, not to subprojects. Thanks to [Andreas Deininger](https://github.com/deining) for raising this.
* [#1503] BUILD: Fix failing `System.exit` tests on Java 18.
* [#1504] BUILD: Run tests on Java 5/6/7 in CI environment.
* [#1504] BUILD: Run tests on Java 6-7 in CI environment, semi-automate testing on Java 5.
* [#1495] DEP: Bump validation-api from 2.0.0.Final to 2.0.1.Final
* [#1496] DEP: Bump biz.aQute.bnd.gradle from 5.1.2 to 6.1.0
* [#1494] DEP: Bump kotlin-gradle-plugin from 1.5.31 to 1.6.0
Expand Down
25 changes: 13 additions & 12 deletions gradle/release-tasks.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -118,24 +118,25 @@ Release procedure:
6. update RELEASE-NOTES.md
7. ./gradlew bumpReadmeVersion
7a update README.md (latest version, release notes)
8. commit -m "Release picocli version ..."
9. tag v$version
10 ./gradlew publishReleasePublicationToSonatypeRepository - creates a Sonatype staging repository, and uploads artifacts
11. Close the Sonatype info/picocli staging repo:
8. (in new cmd prompt session) cd picocli-legacy-tests ^ set JAVA_HOME=C:\apps\jdk1.5.0_22 ^ gradlew clean build --no-daemon
9. commit -m "Release picocli version ..."
10. tag v$version
11 ./gradlew publishReleasePublicationToSonatypeRepository - creates a Sonatype staging repository, and uploads artifacts
12. Close the Sonatype info/picocli staging repo:
a. Manually: Log in to https://oss.sonatype.org/ and in the menu on the left, select Staging repositories.
Click the close button in the GUI and watch progress in the
b. Automatically with the codearte.nexus-staging plugin:
./gradlew closeAndReleaseRepository
12. edit version numbers: increase minor version and add -SNAPSHOT classifier
13. ./gradlew bumpVersion
14. check modified files
15. commit -m "Prepare for next development cycle"
16. push (make sure that Push Tags is checked)
13. edit version numbers: increase minor version and add -SNAPSHOT classifier
14. ./gradlew bumpVersion
15. check modified files
16. commit -m "Prepare for next development cycle"
17. push (make sure that Push Tags is checked)
17. Log in to GitHub, go to https://github.com/remkop/picocli/releases
18. Click the new tag, click Edit button, update title and release notes (copy from RELEASE-NOTES.md)
19. Upload picocli-$version.jar and picocli-all$version.zip to GitHub
18. Log in to GitHub, go to https://github.com/remkop/picocli/releases
19. Click the new tag, click Edit button, update title and release notes (copy from RELEASE-NOTES.md)
20. Upload picocli-$version.jar and picocli-all$version.zip to GitHub
(When releasing from branch)
Expand Down

0 comments on commit 403c217

Please sign in to comment.