mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-27 02:01:15 +08:00
fix publish.sh (#1102)
This commit is contained in:
parent
64aa529945
commit
32e96e5e3a
@ -3,6 +3,6 @@
|
||||
# Do not run this file without setting the environment variables, you will end up fatal error
|
||||
# If you wish to run this locally, please change the env variable before running this.
|
||||
|
||||
cat package.json | grep -v '"private":' | grep -v '"version":' | sed "s/\(\"name\": \"element-plus\"\)/\1,\n \"version\": \"${TAG_VERSION}\"/g" > package.json
|
||||
|
||||
cat package.json | grep -v '"private":' | grep -v '"version":' | sed "s/\(\"name\": \"element-plus\"\)/\1,\n \"version\": \"${TAG_VERSION}\"/g" > package.json.bak
|
||||
cat package.json.bak > package.json
|
||||
npm publish --registry ${REGISTRY} --access public
|
||||
|
Loading…
Reference in New Issue
Block a user