fix definition

This commit is contained in:
Matthias Mair
2024-02-29 23:50:34 +01:00
parent 01b7ba30c9
commit 6db2e4a6ee

View File

@ -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"