fix: workflow

* fix

* fix

* fix

---------

Co-authored-by: charlesgauthereau <charles.gauthereau@soluce-technologies.com>
This commit is contained in:
Charles GTE
2026-03-06 09:21:47 +01:00
committed by GitHub
co-authored by charlesgauthereau
parent 7b6ca12744
commit 4dace0a32b
+4 -4
View File
@@ -47,9 +47,9 @@ jobs:
- name: Convert release to draft
run: |
RELEASE_ID=$(gh release view v$(jq -r .version package.json) --repo $GITHUB_REPOSITORY --json id -q .id)
gh release edit $RELEASE_ID --draft --repo $GITHUB_REPOSITORY
TAG=${{ steps.release.outputs.tag }}
echo "Updating release $TAG to draft"
RELEASE_ID=$(gh release view "$TAG" --json id -q .id)
gh release edit "$RELEASE_ID" --draft
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}