mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-24 06:35:10 +00:00
15 lines
171 B
Plaintext
15 lines
171 B
Plaintext
|
#!/bin/bash
|
||
|
set -e
|
||
|
|
||
|
if [ ! "$1" ]; then
|
||
|
echo "Usage $0 [version]"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
yarn build
|
||
|
|
||
|
./scripts/workspace-run npm publish -q
|
||
|
|
||
|
git tag -a v$1 -m v$1
|
||
|
git push --tags
|