Skip to content

Commit

Permalink
set config before pnpm version
Browse files Browse the repository at this point in the history
  • Loading branch information
jonerrr committed Dec 13, 2024
1 parent 320dc45 commit ddcb376
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ jobs:
- name: Bump version
id: bump_version
run: |
git config --global user.name 'Jonah'
git config --global user.email '[email protected]'
pnpm version ${{ github.event.inputs.type }} -m "ci: bump version to %s"
echo "VERSION=$(node -p "require('./package.json').version")" >> "$GITHUB_ENV"
- name: Push changes
run: |
git config --global user.name 'Jonah'
git config --global user.email '[email protected]'
git push origin main --follow-tags
- name: Create a Release
Expand Down

0 comments on commit ddcb376

Please sign in to comment.