fix: workflow

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: charlesgauthereau <charles.gauthereau@soluce-technologies.com>
This commit is contained in:
Charles GTE
2026-03-06 09:30:39 +01:00
committed by GitHub
co-authored by charlesgauthereau
parent 25744efc66
commit b513509b01
+7 -2
View File
@@ -46,11 +46,16 @@ jobs:
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
- name: Get new version
id: get_version
run: |
TAG="v$(node -p "require('./package.json').version")"
echo "tag=$TAG" >> $GITHUB_OUTPUT
- name: Convert release to draft
run: |
TAG=${{ steps.release_step.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 }}
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}