Skip to content

Commit

Permalink
ci: revise release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
cschroeter committed Jun 6, 2023
1 parent f529ce9 commit 1832284
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,14 @@ jobs:

- name: Pre-Release
if: github.event.inputs.isPreRelease == 'true'
run: pnpm release-it --ci --increment ${{ github.event.inputs.increment }} --preReleaseId=beta --npm.tag=beta
run: pnpm release-it ${{ github.event.inputs.increment }} --ci --preRelease=beta
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

# - name: Release
# run: pnpm release-it --ci --increment ${{ github.event.inputs.increment }}
# env:
# NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
# GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Release
if: github.event.inputs.isPreRelease == 'false'
run: pnpm release-it --ci --increment ${{ github.event.inputs.increment }}
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
2 changes: 1 addition & 1 deletion .release-it.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"git": {
"commitMessage": "chore: release pro theme v${version} [skip-ci]"
"commitMessage": "chore: release pro theme v${version}"
},
"github": {
"release": true
Expand Down

1 comment on commit 1832284

@vercel
Copy link

@vercel vercel bot commented on 1832284 Jun 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.