mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
fix definition
This commit is contained in:
8
.github/workflows/do_release.yaml
vendored
8
.github/workflows/do_release.yaml
vendored
@ -26,17 +26,19 @@ jobs:
|
||||
id: version
|
||||
env:
|
||||
TARGET: ${{ github.event.inputs.target }}
|
||||
run: python3 ci/version_check.py do_release
|
||||
run: |
|
||||
python3 ci/version_check.py do_release
|
||||
cat $GITHUB_OUTPUT
|
||||
- name: Gather auto-text
|
||||
id: auto_text
|
||||
run: |
|
||||
auto_text = curl -L \
|
||||
auto_text=$(curl -L \
|
||||
-X POST \
|
||||
-H "Accept: application/vnd.github+json" \
|
||||
-H "Authorization: ${{ 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":"${{ github.event.inputs.target }}","previous_tag_name":"${{ steps.version.outputs.old_version }}}","configuration_file_path":".github/release.yml"}'
|
||||
-d '{"tag_name":"${{ steps.version.outputs.tag }}","target_commitish":"${{ github.event.inputs.target }}","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"
|
||||
|
Reference in New Issue
Block a user