Skip to content

Commit

Permalink
Fix saving new version in release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mahendra790 committed Dec 12, 2023
1 parent 92c48fa commit 04fdb9a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ jobs:
- name: install dependencies
run: pnpm install
- name: save new version
run: echo "version=cat package.json | jq -r '.version'" >> "$GITHUB_ENV"
run: |
echo "version=$(cat package.json | jq -r '.version')" >> "$GITHUB_ENV"
echo "version=$version"
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
Expand Down

0 comments on commit 04fdb9a

Please sign in to comment.