mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 17:31:02 +08:00
a65b7232cd
- Fix publish scripts
9 lines
412 B
Bash
9 lines
412 B
Bash
#! /usr/bin/bash
|
|
|
|
# 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
|
|
|
|
npm publish --registry ${REGISTRY} --access public
|