Skip to content

Commit

Permalink
fix: version issue
Browse files Browse the repository at this point in the history
  • Loading branch information
niloofar-deriv committed Feb 14, 2024
1 parent 8caf007 commit fac86f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ jobs:
- name: Extract Version
id: extract_version
run: |
version="red"
version=$(cat package.json \
| grep version \
| head -1 \
| awk -F: '{ print $2 }' \
| sed 's/[",]//g')
echo "RELEASE_VERSION=${version}" >> "$GITHUB_OUTPUT"
- name: Trigger Quill Icons Park release
if: success()
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"allIconsNames": "cd ./src/react && tree -J > allIconsNames.ts && bash -c 'echo -e \"export const allIconsNames = $(cat allIconsNames.ts)\" > allIconsNames.ts'",
"prepare": "husky install",
"prepublish": "npm run build",
"app:version": "echo RELEASE_VERSION=$npm_package_version"
"app:version": "echo $npm_package_version"
},
"keywords": [],
"devDependencies": {
Expand Down

0 comments on commit fac86f0

Please sign in to comment.