1
1
mirror of https://github.com/primer/css.git synced 2024-12-19 12:12:02 +03:00
css/script/version

15 lines
247 B
Plaintext
Raw Normal View History

#!/bin/bash
set -e
if [[ $# -lt 1 ]]; then
echo "You must provide a version!"
exit 1
fi
version=$1
2017-11-09 20:41:18 +03:00
module=${2:-primer}
cd modules/$module
echo "${module}@$(jq -r .version package.json) => ${version}"
npm version --no-git ${@:1} > /dev/null