File tree Expand file tree Collapse file tree 2 files changed +26
-5
lines changed Expand file tree Collapse file tree 2 files changed +26
-5
lines changed Original file line number Diff line number Diff line change 11
22# Release instructions
33
4- Use the following create a release and deploy:
4+ Use the following to create a release and deploy it :
55
6- ## Step 1 - Building, staging and assembling
6+ ## Step 1 - Set release versions
7+
8+ ``` bash
9+ mvn build-helper:parse-version versions:set -DnewVersion=\$ {parsedVersion.majorVersion}.\$ {parsedVersion.minorVersion}.\$ {parsedVersion.incrementalVersion} versions:commit
10+ ```
11+
12+ ## Step 2 - Building, staging and assembling
713
814``` bash
915./mvnw clean deploy jreleaser:assemble -Prelease
1016```
1117
12- ## Step 2 - Do a dry-run of the full release
18+ ## Step 3 - Do a dry-run of the full release
1319
1420``` bash
1521./mvnw jreleaser:full-release -Djreleaser.dry.run
1622```
1723
18- ## Step 3 - Perform the full release
24+ ## Step 4 - Commit and push the version changes
25+
26+ ``` bash
27+ git commit -am " Prepare for release"
28+ git push
29+ ```
30+
31+ ## Step 5 - Perform the full release
1932
2033``` bash
2134./mvnw jreleaser:full-release
2235```
36+
37+ ## Step 6 - Bump versions for next SNAPSHOT, commit and push
38+
39+ ``` bash
40+ mvn build-helper:parse-version versions:set -DnewVersion=\$ {parsedVersion.majorVersion}.\$ {parsedVersion.minorVersion}.\$ {parsedVersion.nextIncrementalVersion}-SNAPSHOT versions:commit
41+ git commit -am " Prepare for next development iteration"
42+ git push
43+ ```
Original file line number Diff line number Diff line change 55 <modelVersion >4.0.0</modelVersion >
66 <groupId >org.codejive.jpm</groupId >
77 <artifactId >jpm</artifactId >
8- <version >0.1 </version >
8+ <version >0.2-SNAPSHOT </version >
99
1010 <name >Java Package Manager</name >
1111 <description >A simple command line tool for managing Maven dependencies for Java tools like javac and java</description >
You can’t perform that action at this time.
0 commit comments