Skip to content

Commit

Permalink
Tweak the release yml
Browse files Browse the repository at this point in the history
  • Loading branch information
orta committed Jan 5, 2023
1 parent d7cd274 commit 7c88a30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
run: |
git config --global user.email "action@github.com"
git config --global user.name "GitHub Action"
npm run release -- ${{ github.event.inputs.version }} --no-npm --ci
npm run release -- ${{ github.event.inputs.version }} --no-npm --ci --no-git.requireCleanWorkingDir
- name: Update homebrew/tap repo for new release
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .release-it.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"buildCommand": "yarn package:x64; yarn package:arm64",
"hooks": {
"before:bump": "yarn declarations; yarn build:schemas",
"after:release": "gh workflow run .github/workflows/release.yml version=${version}",
"after:release": "gh workflow run release.yml -f version=${version}",
"_": "CI will remove the _ from both of the below lines",
"_after:bump": "yarn package:x64; yarn package:arm64",
"_after:release": "export VERSION=${version}; echo 'VERSION=${version}' >> $GITHUB_ENV"
Expand Down

0 comments on commit 7c88a30

Please sign in to comment.