fix: workflow

* fix

* 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:34:31 +01:00
committed by GitHub
co-authored by charlesgauthereau
parent d297f1a27b
commit b3be1a561c
+10 -1
View File
@@ -38,11 +38,20 @@ jobs:
- run: git config --global user.name 'github-actions[bot]'
- 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
id: release_step
run: |
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:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}