Files
Django-Translatable-Fields/bin/makepip
Holger Sielaff 679553beb2 added makepip
2025-08-04 17:49:40 +02:00

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