element-plus/scripts/publish.sh

14 lines
141 B
Bash
Raw Normal View History

#!/bin/sh
set -e
yarn update:version
sh scripts/build.sh
cd dist/element-plus
npm publish --access public
cd -
echo "Publish completed"