Skip to content

Commit

Permalink
ci: update script
Browse files Browse the repository at this point in the history
  • Loading branch information
baran.wang committed Oct 10, 2023
1 parent afd62e6 commit b935efc
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,6 @@ jobs:
- run: npx lerna version --yes --conventional-commits --exact

- id: version
run: node -e 'process.stdout.write(`::set-output version=${require("./lerna.json").version}`)'
run: echo "$(node -e 'process.stdout.write(`::set-output version=${require("./lerna.json").version}`)')"

- uses: peter-evans/create-pull-request@v5
with:
branch: release/${{ github.sha }}
base: main
title: Release ${{ steps.version.outputs.version }}
body: |
Release ${{ steps.version.outputs.version }}

- run: gh pr create --base main --title "Release ${{ steps.version.outputs.version }}" --body "Release ${{ steps.version.outputs.version }}"

0 comments on commit b935efc

Please sign in to comment.