12 lines
288 B
Bash
Executable File
12 lines
288 B
Bash
Executable File
#!/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
|
|
|