Skip to content

Commit

Permalink
chore: hotfix package json creation on release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
junners committed Aug 4, 2024
1 parent 036de27 commit 1a1c365
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/generate-RELEASE.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ jobs:
- name: Install dependencies
run: |
export NEW_VER=${{ steps.generate-release-number.outputs.NEW_VER }}
cat package.json | jq --arg NEW_VER "$NEW_VER" '.version = $NEW_VER' package.json
jq --arg NEW_VER "$NEW_VER" '.version = $NEW_VER' package.json > tmp.json
rm package.json
mv tmp.json package.json
npm install
git config --global user.name ${{ vars.USER_NAME }}
git config --global user.email ${{ vars.USER_EMAIL }}
Expand Down

0 comments on commit 1a1c365

Please sign in to comment.