Nuxt/scripts/release-publish

15 lines
181 B
Plaintext
Raw Normal View History

2019-04-25 08:43:50 +00:00
#!/bin/bash
set -e
if [ ! "$1" ]; then
echo "Usage $0 [version]"
exit 1
fi
yarn build
2023-02-03 12:54:28 +00:00
./scripts/workspace-run npm publish --tag 2.x -q
2019-04-25 08:43:50 +00:00
git tag -a v$1 -m v$1
git push --tags