From ba43be9e62c4169103ee70870924cc02e1f66164 Mon Sep 17 00:00:00 2001 From: Louis King Date: Sun, 7 Dec 2025 21:58:42 +0000 Subject: [PATCH] Fixes --- .github/workflows/ci.yml | 4 ++-- .github/workflows/docker.yml | 4 +--- Dockerfile | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2f7db27..3158af0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,9 @@ name: CI on: push: - branches: [main, master] + branches: [main] pull_request: - branches: [main, master] + branches: [main] jobs: lint: diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index e1d3652..08695f7 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -2,11 +2,9 @@ name: Docker on: push: - branches: [main, master] + branches: [main] tags: - "v*" - pull_request: - branches: [main, master] env: REGISTRY: ghcr.io diff --git a/Dockerfile b/Dockerfile index a645c68..30b3c08 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,7 +32,7 @@ COPY alembic.ini ./ ARG BUILD_VERSION=dev # Set version in _version.py and install the package -RUN sed -i "s/__version__ = \"dev\"/__version__ = \"${BUILD_VERSION}\"/" src/meshcore_hub/_version.py && \ +RUN sed -i "s|__version__ = \"dev\"|__version__ = \"${BUILD_VERSION}\"|" src/meshcore_hub/_version.py && \ pip install --upgrade pip && \ pip install .