Nuxt/scripts/release-publish
pooya parsa a5cf705ed8 v2.6.3
2019-04-25 13:13:50 +04:30

15 lines
171 B
Bash
Executable File

#!/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