Skip to content

Commit

Permalink
Fix the release process
Browse files Browse the repository at this point in the history
  • Loading branch information
brianhelba committed Jan 21, 2021
1 parent 608f8ee commit cec2c8f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
yarn install --frozen-lockfile
yarn version --no-git-tag-version --new-version $(git describe --tags --match '*[0-9]*' --abbrev=0 | sed 's/^v//')
echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' > ./.npmrc
yarn publish --new-version $(git describe --tags --match '*[0-9]*' --abbrev=0 | sed 's/^v//')
yarn publish --non-interactive

0 comments on commit cec2c8f

Please sign in to comment.