We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d7c5b8 commit 02b285aCopy full SHA for 02b285a
1 file changed
.github/workflows/build.yml
@@ -34,9 +34,24 @@ jobs:
34
path: '*/build/test-results/test/TEST-*.xml'
35
36
# Release
37
+ - name: Get tag message
38
+ if: github.ref_type == 'tag'
39
+ id: tag_message
40
+ run: |
41
+ {
42
+ echo "message<<EOF"
43
+ git fetch -f origin tag ${{github.ref_name}}
44
+ git tag -l ${{github.ref_name}} --format="%(contents)"
45
+ echo "EOF"
46
+ } >> "$GITHUB_OUTPUT"
47
- name: Create GitHub Release
48
if: github.ref_type == 'tag'
- uses: softprops/action-gh-release@v1
49
+ uses: softprops/action-gh-release@v2
50
+ with:
51
+ body: |
52
+ **[Maven package](https://mvnrepository.com/artifact/typedrest.net/typedrest/${{steps.gitversion.outputs.semVer}})**
53
+ ## Changes
54
+ ${{steps.tag_message.outputs.message}}
55
56
# Publish
57
- name: Publish packages (GitHub)
0 commit comments