From c2aae2afc343641c17e8157844a2cd699975b249 Mon Sep 17 00:00:00 2001 From: Tris Forster Date: Mon, 29 Sep 2025 23:41:01 +1000 Subject: [PATCH] Allow for version bumps --- Dockerfile | 6 ++++-- pyproject.toml | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 42bc282..df91cea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,10 +2,12 @@ FROM recoll RUN apt-get -y install breeze-icon-theme python3-venv -COPY dist/squirrel-0.3.0-py3-none-any.whl squirrel-0.3.0-py3-none-any.whl +ARG SQUIRREL_VERSION=0.3.1 + +COPY dist/squirrel-${SQUIRREL_VERSION}-py3-none-any.whl squirrel-${SQUIRREL_VERSION}-py3-none-any.whl RUN python3 -m venv --system-site-packages /opt/squirrel -RUN /opt/squirrel/bin/pip install squirrel-0.3.0-py3-none-any.whl +RUN /opt/squirrel/bin/pip install squirrel-${SQUIRREL_VERSION}-py3-none-any.whl EXPOSE 8000 diff --git a/pyproject.toml b/pyproject.toml index 667053f..412ebf7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "squirrel" -version = "0.3.0" +version = "0.3.1" description = "Find your nuts" authors = [ {name = "Your Name",email = "you@example.com"}