Pillow/update-pillow-tag.sh
2021-02-06 08:49:59 +11:00

18 lines
303 B
Bash
Executable File

#!/usr/bin/env bash
set -e # exit on error
if [ $# -eq 0 ]; then
echo "Usage: update-pillow-tag.sh [[release tag]]"
exit
fi
git checkout master
git submodule update --init Pillow
cd Pillow
git fetch --all
git checkout $1
cd ..
git commit -m "Pillow -> $1" Pillow
git tag $1
git push origin $1