mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
fix: workflow
* fix * fix * fix * fix * fix --------- Co-authored-by: charlesgauthereau <charles.gauthereau@soluce-technologies.com>
This commit is contained in:
co-authored by
charlesgauthereau
parent
25744efc66
commit
b513509b01
@@ -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 }}
|
||||
Reference in New Issue
Block a user