Skip to content

Commit f2ef852

Browse files
author
TheSnoozer
committed
add a release a new version template
1 parent c549332 commit f2ef852

1 file changed

Lines changed: 40 additions & 0 deletions

File tree

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: New release request
2+
description: Will be created by the author of the plugin, so not relevant for the public :-)
3+
labels: [ ]
4+
assignees: [ ]
5+
body:
6+
- type: markdown
7+
attributes:
8+
description: |
9+
Just submit this as new issue...
10+
value: |
11+
This is the place holder to release the new **6.0.0** version.
12+
Note that the current open tickets should be addressed, before performing a release.
13+
14+
# General scope of the new release:
15+
Fixed some minor things, added some minor features...(full list https://github.com/git-commit-id/git-commit-id-maven-plugin/issues?q=milestone%3A6.0.0).
16+
17+
# Release-Guide
18+
see http://central.sonatype.org/pages/ossrh-guide.html
19+
20+
- [ ] 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
21+
- [ ] update dependencies `mvn versions:display-dependency-updates`
22+
- [ ] wait for github actions to pass
23+
- [ ] `mvn release:prepare`
24+
[INFO] Checking dependencies and plugins for snapshots ...
25+
What is the release version for "Git Commit Id Maven Plugin"? (io.github.git-commit-id:git-commit-id-maven-plugin) 6.0.0: : [ENTER]
26+
What is SCM release tag or label for "Git Commit Id Maven Plugin"? (io.github.git-commit-id:git-commit-id-maven-plugin) git-commit-id-maven-plugin-6.0.0: : **v6.0.0** [ENTER]
27+
What is the new development version for "Git Commit Id Maven Plugin"? (io.github.git-commit-id:git-commit-id-maven-plugin) 6.0.1-SNAPSHOT: : [ENTER]
28+
29+
- [ ] wait for github actions to pass
30+
- [ ] `mvn release:perform`
31+
- (or `mvn clean source:jar javadoc:jar deploy -Pgpg` from the git tag)
32+
- (or `mvn release:perform -Dresume=false`)
33+
- 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
34+
- [ ] 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.
35+
- [ ] verify plugin is available on (might take some time) https://repo1.maven.org/maven2/io/github/git-commit-id/git-commit-id-maven-plugin/
36+
- [ ] under [Milestones](https://github.com/git-commit-id/git-commit-id-maven-plugin/milestones) close old milestone
37+
- [ ] under [Milestones](https://github.com/git-commit-id/git-commit-id-maven-plugin/milestones) create new milestone for new version
38+
- [ ] under [Releases](https://github.com/git-commit-id/git-commit-id-maven-plugin/releases) publish Release-Notes
39+
- [ ] update readme to point to the latest version available
40+
- [ ] run performance comparison with previous release (https://gist.github.com/TheSnoozer/7891eb9412c9584a052f00650d9c516b)

0 commit comments

Comments
 (0)