Nuxt/scripts/release-publish
2023-02-13 12:11:22 +00:00

15 lines
180 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 --tag 2x -q
git tag -a v$1 -m v$1
git push --tags