File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
- # PY_VER=3.9 IMAGE=djbase DISTRO=debian DJ_VERSION=$(grep -oP '\d+\.\d+\.\d+' datajoint/version.py ) HOST_UID=$(id -u) docker compose -f docker-compose-build.yaml up --exit-code-from app --build
1
+ # PY_VER=3.9 IMAGE=djbase DISTRO=debian DJ_VERSION=$(grep -m 1 version pyproject.toml | grep - oP '\d+\.\d+\.\d+') HOST_UID=$(id -u) docker compose -f docker-compose-build.yaml up --exit-code-from app --build
2
2
#
3
3
# Intended for updating dependencies and docker image.
4
4
# Used to build release artifacts.
Original file line number Diff line number Diff line change 1
- # DJ_VERSION=$(grep -oP '\d+\.\d+\.\d+' datajoint/version.py ) docker compose --profile test up --build --exit-code-from djtest djtest
1
+ # DJ_VERSION=$(grep -m 1 version pyproject.toml | grep - oP '\d+\.\d+\.\d+') docker compose --profile test up --build --exit-code-from djtest djtest
2
2
services :
3
3
db :
4
4
image : datajoint/mysql:${MYSQL_VER:-8.0}
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ services:
27
27
elif echo "$${MODE}" | grep -iE "qa|build" &>/dev/null; then
28
28
git branch -D gh-pages || true
29
29
git fetch $${UPSTREAM_REPO} gh-pages:gh-pages || true
30
- mike deploy --config-file ./docs/mkdocs.yaml -u $$(grep -oE '\d+\.\d+' /main/$${PACKAGE}/version.py ) latest
30
+ mike deploy --config-file ./docs/mkdocs.yaml -u $$(grep -m 1 version /main/pyproject.toml | grep -oP '\d+\.\d+\.\d+' ) latest
31
31
mike set-default --config-file ./docs/mkdocs.yaml latest
32
32
if echo "$${MODE}" | grep -i qa &>/dev/null; then
33
33
mike serve --config-file ./docs/mkdocs.yaml -a 0.0.0.0:80
You can’t perform that action at this time.
0 commit comments