mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
fix: .release-it.json
This commit is contained in:
@@ -42,6 +42,5 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git pull origin main
|
git pull origin main
|
||||||
pnpm exec release-it --ci
|
pnpm exec release-it --ci
|
||||||
git push origin --tags
|
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
|
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
|
||||||
|
|||||||
@@ -31,13 +31,13 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
gh release edit ${{ github.ref_name }} --draft=false
|
gh release edit v${{ github.ref_name }} --draft=false
|
||||||
|
|
||||||
discord_notification:
|
discord_notification:
|
||||||
needs: docker_publish
|
needs: docker_publish
|
||||||
uses: ./.github/workflows/discord.yml
|
uses: ./.github/workflows/discord.yml
|
||||||
with:
|
with:
|
||||||
discord_title: "New Release: ${{ github.ref_name }}"
|
discord_title: "New Release: v${{ github.ref_name }}"
|
||||||
discord_color: 3066993
|
discord_color: 3066993
|
||||||
discord_footer: "Portabase"
|
discord_footer: "Portabase"
|
||||||
secrets:
|
secrets:
|
||||||
|
|||||||
+2
-7
@@ -4,18 +4,13 @@
|
|||||||
"commitMessage": "chore: release v${version}",
|
"commitMessage": "chore: release v${version}",
|
||||||
"requireCleanWorkingDir": true,
|
"requireCleanWorkingDir": true,
|
||||||
"tag": true,
|
"tag": true,
|
||||||
"tagName": "${version}",
|
"tagName": "v${version}",
|
||||||
"push": true
|
"push": true
|
||||||
},
|
},
|
||||||
"github": {
|
"github": {
|
||||||
"release": true,
|
"release": true,
|
||||||
"tokenRef": "GITHUB_TOKEN",
|
|
||||||
"draft": true,
|
"draft": true,
|
||||||
"tagName": "${version}",
|
"tokenRef": "GITHUB_TOKEN"
|
||||||
"push": true
|
|
||||||
},
|
|
||||||
"hooks": {
|
|
||||||
"after:git:push": "sleep 5"
|
|
||||||
},
|
},
|
||||||
"plugins": {
|
"plugins": {
|
||||||
"@release-it/conventional-changelog": {
|
"@release-it/conventional-changelog": {
|
||||||
|
|||||||
Reference in New Issue
Block a user