~amirouche/asyncio-foundationdb

ref: e24a647742c28f2e7885b444b4983c0f19c8c57a asyncio-foundationdb/ci.sh -rwxr-xr-x 561 bytes
e24a6477Amirouche release v0.10.4 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
set -xe
rm -rf .venv
PYTHON_MAJOR_MINOR=$1
echo "exit()" | sh venv python$PYTHON_MAJOR_MINOR
./venv pip install --quiet poetry
./venv make init
./venv make check
# Publish if there is a tag on the current commit
set +x
git tag -l --points-at $(git show -q --format=%H) | grep v && ./venv poetry config http-basic.pypi __token__ $(cat ~/.pypi-token) || true
set -x
git tag -l --points-at $(git show -q --format=%H) | grep v && ./venv poetry build --format wheel || true
git tag -l --points-at $(git show -q --format=%H) | grep v && ./venv poetry publish || true