Skip to content

Commit

Permalink
Merge pull request #10 from izumin5210/izumin5210/fix-release-script
Browse files Browse the repository at this point in the history
Stop using lerna on release workflow
  • Loading branch information
izumin5210 committed Sep 13, 2021
2 parents 27a8c70 + ab6a594 commit de7703a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ jobs:
- uses: ./.github/actions/create-release-and-publish
with:
run-publish: |
yarn lerna publish from-package --yes
get-version: |
node --print 'require("./lerna.json").version'
yarn publish
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3 changes: 0 additions & 3 deletions .github/workflows/release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,3 @@ jobs:
- run: yarn --frozen-lockfile

- uses: ./.github/actions/generate-changelog
with:
get-version: |
node --print 'require("./lerna.json").version'
2 changes: 1 addition & 1 deletion scripts/create-release-pr
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -o pipefail

ROOT_DIR=$(dirname $0)/..

yarn lerna version --no-git-tag-version
yarn version --no-git-tag-version

version=$(node --print 'require("./package.json").version')
branch="releases/${version}"
Expand Down

0 comments on commit de7703a

Please sign in to comment.