We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86f2bfd commit a62a0d8Copy full SHA for a62a0d8
.github/workflows/build.yml
@@ -27,9 +27,24 @@ jobs:
27
- run: npm run docs
28
29
# Release
30
+ - name: Get tag message
31
+ if: github.ref_type == 'tag'
32
+ id: tag_message
33
+ run: |
34
+ {
35
+ echo "message<<EOF"
36
+ git fetch -f origin tag ${{github.ref_name}}
37
+ git tag -l ${{github.ref_name}} --format="%(contents)"
38
+ echo "EOF"
39
+ } >> "$GITHUB_OUTPUT"
40
- name: Create GitHub Release
41
if: github.ref_type == 'tag'
42
uses: softprops/action-gh-release@v2
43
+ with:
44
+ body: |
45
+ **[NPM package](https://www.npmjs.com/package/typedrest/v/ ${{steps.gitversion.outputs.nuGetVersion}})**
46
+ ## Changes
47
+ ${{steps.tag_message.outputs.message}}
48
49
# Publish (release only)
50
- name: Publish documentation
0 commit comments