Skip to content

Commit

Permalink
Upload release to PyPi as well
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Čihař <michal@cihar.com>
  • Loading branch information
nijel committed Oct 1, 2015
1 parent bc4cd25 commit db5b842
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions admin/make-release
Expand Up @@ -44,7 +44,7 @@ echo 'Creating source tarballs...'
# Build source package
./setup.py sdist --formats=gztar,bztar,tar,zip
xz dist/*.tar
mv dist/* ../
cp dist/* ../

# We're done
echo "Release is in $tmp directory"
Expand All @@ -55,8 +55,10 @@ cd "$srcdir"
if [ $dotag -eq 1 ] ; then
# Tag the release
git tag -s -m "Tag release $version" "$version"
# Submit to PyPi
$tmp/$repo-$version/setup.py register
# Upload to sf.net
./admin/upload-release $version $tmp
# Submit to PyPi
cd $tmp/$repo-$version
python setup.py register
python setup.py sdist upload --formats=gztar,bztar,zip
fi

0 comments on commit db5b842

Please sign in to comment.