ms/script/push.sh
2023-10-25 17:44:27 +08:00

9 lines
211 B
Bash
Executable File

#!/bin/bash
DISTTAG=${1:beta}
for package in `ls packages`; do
echo $package
pushd packages/$package
pnpm publish --tag ${DISTTAG} --access=public --registry https://registry.npmjs.org
popd
done