File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 workflow_dispatch :
55 inputs :
66 version :
7- description : ' Version to release (e.g. 1.0.0)'
8- required : true
9- type : string
10- next_version :
11- description : ' Next development version (e.g. 1.0.1-SNAPSHOT)'
7+ description : ' Version to release (e.g. 20260101)'
128 required : true
139 type : string
1410
@@ -67,15 +63,23 @@ jobs:
6763 JRELEASER_GPG_PUBLIC_KEY : ${{ secrets.GPG_PUBLIC_KEY }}
6864 run : ./mvnw -N -Ppublication jreleaser:full-release
6965
66+ - name : Release log
67+ if : always()
68+ uses : actions/upload-artifact@v6
69+ with :
70+ name : release
71+ path : |
72+ target/jreleaser/trace.log
73+ target/jreleaser/output.properties
74+
7075 - name : Set next version
71- if : github.event_name == 'workflow_dispatch'
7276 run : |
7377 # Configure git (in case it's needed again)
7478 git config --global user.name "GitHub Actions"
7579 git config --global user.email "actions@github.com"
7680
77- echo "Setting next version to ${{ github.event.inputs.next_version }} "
78- mvn versions:set -DgenerateBackupPoms=false -DnewVersion=${{ github.event.inputs.next_version }}
81+ echo "Setting next version to 20000101-SNAPSHOT "
82+ mvn versions:set -DgenerateBackupPoms=false -DnewVersion=20000101-SNAPSHOT
7983 git add pom.xml "**/pom.xml"
8084 git commit -m "Prepare for next development version"
8185 git push origin main
Original file line number Diff line number Diff line change @@ -359,17 +359,35 @@ application while protecting against XSS.
359359 <plugin >
360360 <groupId >org.jreleaser</groupId >
361361 <artifactId >jreleaser-maven-plugin</artifactId >
362- <version >1.21.0</version >
362+ <version >1.22.0</version >
363+ <inherited >false</inherited >
363364 <configuration >
364365 <jreleaser >
365366 <release >
366367 <github >
368+ <tagName >release-{{projectVersion}}</tagName >
367369 <previousTagName >release-20240325.1</previousTagName >
370+ <releaseName >Release {{projectVersion}}</releaseName >
371+ <changelog >
372+ <formatted >ALWAYS</formatted >
373+ <skipMergeCommits >true</skipMergeCommits >
374+ <contributors >
375+ <format >- {{contributorName}}{{#contributorUsernameAsLink}} ({{.}}){{/contributorUsernameAsLink}}</format >
376+ </contributors >
377+ <hide >
378+ <contributors >GitHub</contributors >
379+ </hide >
380+ </changelog >
381+ <issues >
382+ <enabled >true</enabled >
383+ </issues >
368384 </github >
369385 </release >
370386 <signing >
371- <active >ALWAYS</active >
372- <armored >true</armored >
387+ <pgp >
388+ <active >ALWAYS</active >
389+ <armored >true</armored >
390+ </pgp >
373391 </signing >
374392 <deploy >
375393 <maven >
You can’t perform that action at this time.
0 commit comments