Skip to content

Commit 4dace0a

Browse files
RambokDevcharlesgauthereau
andauthored
fix: workflow
* fix * fix * fix --------- Co-authored-by: charlesgauthereau <charles.gauthereau@soluce-technologies.com>
1 parent 7b6ca12 commit 4dace0a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/auto-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ jobs:
4747

4848
- name: Convert release to draft
4949
run: |
50-
RELEASE_ID=$(gh release view v$(jq -r .version package.json) --repo $GITHUB_REPOSITORY --json id -q .id)
51-
gh release edit $RELEASE_ID --draft --repo $GITHUB_REPOSITORY
50+
TAG=${{ steps.release.outputs.tag }}
51+
echo "Updating release $TAG to draft"
52+
RELEASE_ID=$(gh release view "$TAG" --json id -q .id)
53+
gh release edit "$RELEASE_ID" --draft
5254
env:
5355
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
54-
55-

0 commit comments

Comments
 (0)