fix: workflow

* fix

* fix

* fix

* fix

* fix

* 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:59:15 +01:00
committed by GitHub
co-authored by charlesgauthereau
parent 77901ae1bc
commit af1a437523
+5 -9
View File
@@ -45,19 +45,15 @@ jobs:
# pnpm exec release-it --ci # pnpm exec release-it --ci
# env: # env:
# GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} # GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
- name: Create tag and push it - name: Create version and push tag
id: create_tag
run: | run: |
git pull origin main pnpm exec release-it --ci --no-github --no-npm
pnpm exec release-it --ci --no-github git push origin --follow-tags
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
- name: Push tag
run: git push origin v$(pnpm exec release-it --ci --dry-run | grep 'next version' | awk '{print $NF}')
env: env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
- name: Create GitHub release - name: Create GitHub release
run: pnpm exec release-it --ci --no-npm run: pnpm exec release-it --ci --no-npm --no-git
env: env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}