mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
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:
co-authored by
charlesgauthereau
parent
b81ad079ee
commit
1aeff542e5
@@ -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 }}
|
||||
Reference in New Issue
Block a user