mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
update PAT ref
This commit is contained in:
parent
7db4abd487
commit
e2e459601c
4
.github/workflows/do_release.yaml
vendored
4
.github/workflows/do_release.yaml
vendored
@ -35,10 +35,10 @@ jobs:
|
|||||||
auto_text=$(curl -L \
|
auto_text=$(curl -L \
|
||||||
-X POST \
|
-X POST \
|
||||||
-H "Accept: application/vnd.github+json" \
|
-H "Accept: application/vnd.github+json" \
|
||||||
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
|
-H "Authorization: Bearer ${{ secrets.RELEASE_PAT }}" \
|
||||||
-H "X-GitHub-Api-Version: 2022-11-28" \
|
-H "X-GitHub-Api-Version: 2022-11-28" \
|
||||||
https://api.github.com/repos/inventree/InvenTree/releases/generate-notes \
|
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 }}"}')
|
||||||
echo $auto_text
|
echo $auto_text
|
||||||
echo "auto_text=$auto_text" >> $GITHUB_OUTPUT
|
echo "auto_text=$auto_text" >> $GITHUB_OUTPUT
|
||||||
- name: "Dummy: Set version"
|
- name: "Dummy: Set version"
|
||||||
|
Loading…
Reference in New Issue
Block a user