-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Done refactorings and tests and minor fixes for v.1.0.0
- Loading branch information
1 parent
582dacf
commit b6098aa
Showing
13 changed files
with
216 additions
and
88 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/usr/bin/env bash | ||
|
||
############################################################################### | ||
# | ||
# Deployment script for [pyutilities] project. | ||
# Script can be run from outside of virtual (pipenv) environment (from the | ||
# system shell) and from the pipenv environment as well (pipenv shell). | ||
# | ||
# Created: Dmitrii Gusev, 27.11.2022 | ||
# Modified: | ||
# | ||
############################################################################### | ||
|
||
# -- safe bash scripting - fail-fast pattern (google for more info) | ||
set -euf -o pipefail | ||
|
||
# -- set up encoding/language | ||
export LANG="en_US.UTF-8" | ||
|
||
# -- upload new library to Test PyPi (TEST) | ||
# printf "\n\nUploading new library dist to test pypi repo\n\n" | ||
# twine upload --repository-url https://test.pypi.org/legacy/ dist/* | ||
|
||
# -- upload new library dist to real PyPi (PROD) | ||
printf "\n\nUploading library [pyutilities] to PyPi repository\n\n" | ||
twine upload -u "$1" -p "$2" dist/* |
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
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
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
Oops, something went wrong.