-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
#!/bin/sh -l | ||
|
||
# if $TWINE_USERNAME == "" || $TWINE_PASSWORD == "" | ||
# then | ||
# echo "No twine username" | ||
# return -1 | ||
# fi | ||
if $TWINE_USERNAME == "" || $TWINE_PASSWORD == "" | ||
then | ||
echo "No twine info in the environment variables" | ||
return -1 | ||
fi | ||
|
||
# exec python setup.py sdist bdist_wheel | ||
# echo "Build finished" | ||
python setup.py sdist bdist_wheel | ||
echo "Build finished" | ||
|
||
# TODO: check if dist & build directory are existing and also with the correct files | ||
|
||
echo "Twine init" | ||
exec twine upload dist/* | ||
twine upload dist/* | ||
echo "Twine ended" |