mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-11 12:17:14 +03:00
19 lines
295 B
Bash
19 lines
295 B
Bash
|
#!/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 init
|
||
|
git submodule update Pillow
|
||
|
cd Pillow
|
||
|
git fetch --all
|
||
|
git checkout $1
|
||
|
cd ..
|
||
|
git commit -m "Pillow -> $1" Pillow
|
||
|
git push
|