fix: workflow

* 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:54:33 +01:00
committed by GitHub
co-authored by charlesgauthereau
parent b81ad079ee
commit 1aeff542e5
+10 -2
View File
@@ -45,11 +45,19 @@ jobs:
# pnpm exec release-it --ci
# env:
# GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
- name: Create tag only
run: pnpm exec release-it --ci --no-github
- name: Create tag and push it
run: |
git pull origin main
pnpm exec release-it --ci --no-github
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:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
- name: Create GitHub release
run: pnpm exec release-it --ci --no-npm
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}