mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
fix
This commit is contained in:
@@ -38,20 +38,23 @@ jobs:
|
|||||||
- run: git config --global user.name 'github-actions[bot]'
|
- run: git config --global user.name 'github-actions[bot]'
|
||||||
- run: git config --global user.email 'github-actions[bot]@users.noreply.github.com'
|
- run: git config --global user.email 'github-actions[bot]@users.noreply.github.com'
|
||||||
|
|
||||||
|
# - name: Run release-it
|
||||||
|
# id: release_step
|
||||||
|
# run: |
|
||||||
|
# git pull origin main
|
||||||
|
# pnpm exec release-it --ci --ci-output
|
||||||
|
# env:
|
||||||
|
# GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
|
||||||
|
|
||||||
- name: Run release-it
|
- name: Run release-it
|
||||||
id: release_step
|
id: release_step
|
||||||
run: |
|
run: |
|
||||||
git pull origin main
|
git pull origin main
|
||||||
pnpm exec release-it --ci --ci-output
|
TAG=$(pnpm exec release-it --ci --ci-output | grep -oE '🔗 https://github.com/.+/releases/tag/([^\s]+)' | awk -F/ '{print $NF}')
|
||||||
|
echo "tag=$TAG" >> $GITHUB_OUTPUT
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
|
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
|
- name: Convert release to draft
|
||||||
run: |
|
run: |
|
||||||
echo "Updating release $TAG to draft"
|
echo "Updating release $TAG to draft"
|
||||||
|
|||||||
Reference in New Issue
Block a user