Skip to content

Commit

Permalink
read release from package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
vahidalizad committed Aug 28, 2024
1 parent 69413ab commit f099e07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:

- name: Get version from package.json
id: get_version
run: echo "VERSION=$(node -p -e \"require('./package.json').version\")" >> $GITHUB_ENV
run: echo "VERSION=$(jq -r .version < package.json)" >> $GITHUB_ENV

- name: Create GitHub Release
id: create_release
Expand Down

0 comments on commit f099e07

Please sign in to comment.