Pillow/update-pillow-tag.sh

19 lines
304 B
Bash
Raw Normal View History

2019-01-06 18:19:03 +03:00
#!/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
2021-02-06 00:49:59 +03:00
git submodule update --init Pillow
2019-01-06 18:19:03 +03:00
cd Pillow
git fetch --all
git checkout $1
cd ..
git commit -m "Pillow -> $1" Pillow
git tag $1
2021-05-16 04:58:25 +03:00
git push origin $1