File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ build-backend = "setuptools.build_meta"
1010
1111[project ]
1212name = " daisy-exact-search"
13- version = " 1.0.6 "
13+ version = " 1.0.7 "
1414description = " DaiSy: A Library for Scalable Data Series Similarity Search"
1515readme = " README.md"
1616requires-python = " >=3.10"
Original file line number Diff line number Diff line change 1313
1414VERSION=$1
1515SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
16+ PROJECT_ROOT=" $( cd " $SCRIPT_DIR /.." && pwd) "
1617
1718echo " Publishing version $VERSION to PyPI..."
1819echo
1920
2021# Update version in setup.py
2122echo " Updating setup.py..."
22- sed -i " s/__version__ = \" [^\" ]*\" /__version__ = \" $VERSION \" /" " $SCRIPT_DIR /setup.py"
23+ sed -i " s/__version__ = \" [^\" ]*\" /__version__ = \" $VERSION \" /" " $PROJECT_ROOT /setup.py"
2324
2425# Update version in pyproject.toml
2526echo " Updating pyproject.toml..."
26- sed -i " s/^version = \" [^\" ]*\" /version = \" $VERSION \" /" " $SCRIPT_DIR /pyproject.toml"
27+ sed -i " s/^version = \" [^\" ]*\" /version = \" $VERSION \" /" " $PROJECT_ROOT /pyproject.toml"
2728
2829# Clean previous builds
2930echo " Cleaning previous builds..."
30- cd " $SCRIPT_DIR "
31+ cd " $PROJECT_ROOT "
3132rm -rf build dist * .egg-info
3233
3334# Build the package
Original file line number Diff line number Diff line change 1111from setuptools .command .build_ext import build_ext as _build_ext
1212
1313# Version
14- __version__ = "1.0.6 "
14+ __version__ = "1.0.7 "
1515
1616# Detect platform
1717IS_MACOS = sys .platform == "darwin"
You can’t perform that action at this time.
0 commit comments