added makepip
This commit is contained in:
11
bin/makepip
Executable file
11
bin/makepip
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
cd $(dirname $0)/..
|
||||
vi pyproject.toml
|
||||
version=$(grep -oPe '^ *version *= *.*$' pyproject.toml | awk '{print $3}' | sed 's/"//g;'"s/'//g" )
|
||||
|
||||
. venv_build/bin/activate
|
||||
|
||||
python3 -m build
|
||||
python3 -m twine upload --repository gitea dist/django_translatable_fields-$version
|
||||
|
||||
Reference in New Issue
Block a user