Skip to content

Commit

Permalink
chore: optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
guoxianzhe committed Mar 15, 2024
1 parent 58d9bac commit 8a1a694
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ jobs:
- name: Dry Run Release
if: ${{ inputs.dry-run }}
run: |
yarn release ${{ inputs.increment }} -d --ci
yarn release ${{ inputs.increment }} -d --ci --npm.tag=latest
- name: NPM Publish
if: ${{ !inputs.dry-run }}
run: |
git config --global user.email "${{ secrets.GIT_EMAIL }}"
git config --global user.name "${{ secrets.GIT_USERNAME }}"
yarn release ${{ inputs.increment }} --ci --npm.allowSameVersion
yarn release ${{ inputs.increment }} --ci --npm.allowSameVersion --npm.tag=latest

0 comments on commit 8a1a694

Please sign in to comment.