We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11a5b31 commit f11e79bCopy full SHA for f11e79b
.github/actions/build-release-notes/action.yml
@@ -6,12 +6,13 @@ runs:
6
- name: Write release notes
7
shell: bash
8
run: |
9
- VERSION="${{ github.event.release.tag_name }}"
10
- cat <<'EOF' > docs/release.md
11
- # Mokapi ${{ github.event.release.tag_name }}
12
-
13
- ${{ github.event.release.body }}
14
- EOF
+ VERSION=$(jq -r '.release.tag_name' "$GITHUB_EVENT_PATH")
+ BODY=$(jq -r '.release.body' "$GITHUB_EVENT_PATH")
+ {
+ echo "# Mokapi $VERSION"
+ echo
+ echo "$BODY"
15
+ } > docs/release.md
16
- name: Upload UI artifact
17
uses: actions/upload-artifact@v4
18
with:
0 commit comments