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

# 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 clean
python build_ext --inplace
python sdist --formats=zip,gztar
* )
echo "Not building distribution"