Skip to content

Commit

Permalink
Fix create release pull request workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ohakutsu committed Dec 17, 2023
1 parent 5e36b64 commit b6b58bc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/create-release-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,19 @@ jobs:
node-version: 20
- name: Update version
run: pnpm version "${{ inputs.semver }}" --no-git-tag-version
- name: Set release version
run: echo "RELEASE_VERSION=$(cat package.json | jq -r '.version')" >> "$GITHUB_ENV"
- name: Set package version
run: echo "PACKAGE_VERSION=$(cat package.json | jq -r '.version')" >> "$GITHUB_ENV"
- uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
add-paths: |
package.json
commit-message: "Release v${{ env.RELEASE_VERSION }}"
branch: "release-v${{ env.RELEASE_VERSION }}"
commit-message: "Release v${{ env.PACKAGE_VERSION }}"
branch: "release-v${{ env.PACKAGE_VERSION }}"
delete-branch: true
branch-suffix: timestamp
title: "Release v${{ env.RELEASE_VERSION }}"
title: "Release v${{ env.PACKAGE_VERSION }}"
body: |
## What
Release v${{ env.RELEASE_VERSION }}
Release v${{ env.PACKAGE_VERSION }}

0 comments on commit b6b58bc

Please sign in to comment.