You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/new_release.yml
+15-12Lines changed: 15 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -19,21 +19,24 @@ body:
19
19
Fixed some minor things, added some minor features...(full list https://github.com/git-commit-id/git-commit-id-plugin-core//issues?q=milestone%3A6.0.0-rc.2).
20
20
21
21
# Release-Guide
22
-
see http://central.sonatype.org/pages/ossrh-guide.html
- (OSSRH was deprecated on June 30, 2025 -- http://central.sonatype.org/pages/ossrh-guide.html)
26
+
27
+
The release process has changed from the old OSSRH staging to the new Central Portal:
28
+
- Option 1: Use the new central-publishing-maven-plugin (recommended for automated releases)
29
+
- Option 2: Use the OSSRH Staging API Service (compatibility layer)
23
30
24
-
- [ ] verify that `~/.m2/settings.xml` exists and contains username/password which is required as per https://central.sonatype.org/publish/publish-maven/#distribution-management-and-authentication
25
-
- [ ] `mvn release:prepare`
26
-
[INFO] Checking dependencies and plugins for snapshots ...
27
-
What is the release version for "Git Commit Id Plugin Core"? (io.github.git-commit-id:git-commit-id-plugin-core) **6.0.0**: : [ENTER]
28
-
What is SCM release tag or label for "Git Commit Id Plugin Core"? (io.github.git-commit-id:git-commit-id-plugin-core) git-commit-id-plugin-core-6.0.0: : **v6.0.0** [ENTER]
29
-
What is the new development version for "Git Commit Id Plugin Core"? (io.github.git-commit-id:git-commit-id-plugin-core) **6.0.1-SNAPSHOT**: : [ENTER]
31
+
- [ ] verify that `~/.m2/settings.xml` exists (https://central.sonatype.org/publish/publish-portal-maven/#credentials)
32
+
- contains user token credentials from https://central.sonatype.com/ (generate token at https://central.sonatype.org/publish/generate-portal-token/)
- (or `mvn clean source:jar javadoc:jar deploy -Pgpg` from the git tag)
33
-
- (or `mvn release:perform -Dresume=false`)
34
-
- Note: If the uploading of the artifacts fails, ensure that a [`settings.xml`](https://github.com/git-commit-id/git-commit-id-maven-plugin/blob/master/.buildscript/settings.xml) exists under the local `.m2`-Folder
35
-
- [ ] then go to https://s01.oss.sonatype.org/ log in there and go to the staging repositories, there will be the plugin, you have to first close and then release it if validation passed.
36
+
- [ ] `mvn clean deploy -Pgpg`
36
37
- [ ] verify plugin is available on (might take some time) https://repo1.maven.org/maven2/io/github/git-commit-id/git-commit-id-plugin-core/
38
+
- [ ] Set next development version: `bump2version patch --dry-run --verbose`
0 commit comments