Skip to content

Commit

Permalink
ci: update
Browse files Browse the repository at this point in the history
  • Loading branch information
baran.wang committed Oct 10, 2023
1 parent ff77644 commit f71e96f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:

jobs:
build:
create-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -27,7 +27,7 @@ jobs:
- run: npx lerna version --yes --conventional-commits --exact

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

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

0 comments on commit f71e96f

Please sign in to comment.