mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
fix release note action
This commit is contained in:
parent
277c2d5e97
commit
7db4abd487
4
.github/workflows/do_release.yaml
vendored
4
.github/workflows/do_release.yaml
vendored
@ -35,10 +35,10 @@ jobs:
|
||||
auto_text=$(curl -L \
|
||||
-X POST \
|
||||
-H "Accept: application/vnd.github+json" \
|
||||
-H "Authorization: ${{ secrets.GITHUB_TOKEN }}" \
|
||||
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
|
||||
-H "X-GitHub-Api-Version: 2022-11-28" \
|
||||
https://api.github.com/repos/inventree/InvenTree/releases/generate-notes \
|
||||
-d '{"tag_name":"${{ steps.version.outputs.tag }}","target_commitish":"${{ steps.version.outputs.old_branch }}","previous_tag_name":"${{ steps.version.outputs.old_version }}}","configuration_file_path":".github/release.yml"}')
|
||||
-d '{"tag_name":"${{ steps.version.outputs.tag }}","target_commitish":"${{ steps.version.outputs.old_branch }}","previous_tag_name":"${{ steps.version.outputs.old_version }}","configuration_file_path":".github/release.yml"}')
|
||||
echo $auto_text
|
||||
echo "auto_text=$auto_text" >> $GITHUB_OUTPUT
|
||||
- name: "Dummy: Set version"
|
||||
|
Loading…
Reference in New Issue
Block a user