Run version command instead of calling node directly
This commit is contained in:
parent
fe3ee3010f
commit
4386b5c960
@ -77,7 +77,8 @@ yarn install --no-ignore-optional --pure-lockfile
|
||||
cd ./platform/viewer/
|
||||
|
||||
# Create a Versions File
|
||||
node -p -e '"export default "' + require(\"./../package.json\").version + '";"' > src/version.js
|
||||
# node -p -e '"export default "' + require(\"./../package.json\").version + '";"' > src/version.js
|
||||
yarn run version
|
||||
# Copy over wado-image-loader codecs and worker file
|
||||
cp ./../../node_modules/cornerstone-wado-image-loader/dist/*.min.js* public -v
|
||||
# Build using react-scripts
|
||||
|
||||
@ -7,6 +7,11 @@
|
||||
"publish": {
|
||||
"ignoreChanges": ["*.md"],
|
||||
"message": "chore(release): publish"
|
||||
},
|
||||
"version": {
|
||||
"conventionalCommits": true,
|
||||
"yes": true,
|
||||
"message": "chore(release): publish %s [skip ci]"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user