Skip to content
This repository has been archived by the owner on Aug 19, 2022. It is now read-only.

Commit

Permalink
Merge pull request #79 from theodo/fix-release-script-2
Browse files Browse the repository at this point in the history
fix: fix release script (2)
  • Loading branch information
ThomasAribart authored Jul 29, 2022
2 parents 4d6bc8e + 2bac9ec commit 78e1e9d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/realease-to-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,18 @@ jobs:
run: |
git config --global user.email "[email protected]"
git config --global user.name "$GITHUB_ACTOR"
git stash
# tagging is re-done by lerna in next steps
git push --delete origin ${{ github.event.release.tag_name }}
git tag -d ${{ github.event.release.tag_name }}
- name: update version
run: yarn lerna version ${{ github.event.release.tag_name }} --yes
- name: Update yarn.lock with new version
run: |
export YARN_ENABLE_IMMUTABLE_INSTALLS=false
yarn
git add yarn.lock
git commit --amend --no-edit
git push origin --force
git commit -m "${{ github.event.release.tag_name }} release"
git push
# - uses: JS-DevTools/npm-publish@v1
# with:
# token: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit 78e1e9d

Please sign in to comment.