You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
461 B
20 lines
461 B
#!/bin/bash |
|
|
|
# build the distribution |
|
LAST=`git tag --sort version:refname | grep -v rc | tail -1` |
|
|
|
echo "Building distribution for: $LAST" |
|
git checkout $LAST |
|
|
|
read -p "Ok to continue (y/n)? " answer |
|
case ${answer:0:1} in |
|
y|Y ) |
|
echo "Building distribution" |
|
python setup.py clean |
|
python setup.py build_ext --inplace |
|
python setup.py sdist --formats=zip,gztar |
|
;; |
|
* ) |
|
echo "Not building distribution" |
|
;; |
|
esac
|
|
|