remove autogen version.py fix docs build and fix version identifier · mindee/doctr@a28e0dc (original) (raw)
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -5,7 +5,14 @@ function deploy_doc(){ | ||
| 5 | 5 | fi |
| 6 | 6 | COMMIT=$(git rev-parse --short HEAD) |
| 7 | 7 | echo "Creating doc at commit" COMMIT"andpushingtofolderCOMMIT "and pushing to folder COMMIT"andpushingtofolder2" |
| 8 | - pip install -U .. | |
| 8 | +# Hotfix | |
| 9 | +if [ "$1" \< "dcbb21f" ] | |
| 10 | +then | |
| 11 | + pip install -U .. | |
| 12 | + pip install rapidfuzz==2.15.1 | |
| 13 | +else | |
| 14 | + pip install -U .. | |
| 15 | +fi | |
| 9 | 16 | if [ ! -z "$2" ] |
| 10 | 17 | then |
| 11 | 18 | if [ "$2" == "latest" ]; then |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -9,7 +9,7 @@ | ||
| 9 | 9 | from setuptools import setup |
| 10 | 10 | |
| 11 | 11 | PKG_NAME = "python-doctr" |
| 12 | -VERSION = os.getenv("BUILD_VERSION", "0.7.1a0") | |
| 12 | +VERSION = os.getenv("BUILD_VERSION", "0.6.1a0") | |
| 13 | 13 | |
| 14 | 14 | |
| 15 | 15 | if __name__ == "__main__": |