Skip to content

Commit

Permalink
Use tag name & tag message in release title.
Browse files Browse the repository at this point in the history
Partial mas-cli#638

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
  • Loading branch information
rgoldberg committed Dec 20, 2024
1 parent 567a330 commit bbdf8f1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/tag-pushed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,12 @@ jobs:
- name: 📝 Create draft release
run: |
gh release create -d --generate-notes ${"${GITHUB_REF_NAME//[^-]/}":+-p} "${GITHUB_REF_NAME}"
gh release create\
-d\
-t "${GITHUB_REF_NAME}: ${$(git tag -l "${GITHUB_REF_NAME}" --format='%(contents)')%%$'\n'*}"\
--generate-notes\
${"${GITHUB_REF_NAME//[^-]/}":+ -p}\
"${GITHUB_REF_NAME}"
- name: 📤 Upload installer
run: |
Expand Down

0 comments on commit bbdf8f1

Please sign in to comment.