mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-04 21:50:54 +03:00
Add script to update Pillow
This commit is contained in:
parent
cce90c3bb3
commit
917cf31c59
|
@ -3,14 +3,7 @@ Pillow Wheel Builder
|
|||
|
||||
This repository creates wheels for tagged versions of Pillow::
|
||||
|
||||
git submodule init
|
||||
git submodule update Pillow
|
||||
git add Pillow
|
||||
cd Pillow
|
||||
git checkout <VERSION>
|
||||
cd ..
|
||||
git commit -m "Pillow -> <VERSION>" Pillow
|
||||
git push
|
||||
./update-pillow-tag.sh <VERSION>
|
||||
|
||||
.. image:: https://img.shields.io/travis/python-pillow/pillow-wheels/master.svg
|
||||
:target: https://travis-ci.org/python-pillow/pillow-wheels
|
||||
|
|
18
update-pillow-tag.sh
Executable file
18
update-pillow-tag.sh
Executable file
|
@ -0,0 +1,18 @@
|
|||
#!/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
|
Loading…
Reference in New Issue
Block a user