This commit is contained in:
Louis King
2025-12-07 21:58:42 +00:00
parent 5b22ab29cf
commit ba43be9e62
3 changed files with 4 additions and 6 deletions

View File

@@ -2,9 +2,9 @@ name: CI
on:
push:
branches: [main, master]
branches: [main]
pull_request:
branches: [main, master]
branches: [main]
jobs:
lint:

View File

@@ -2,11 +2,9 @@ name: Docker
on:
push:
branches: [main, master]
branches: [main]
tags:
- "v*"
pull_request:
branches: [main, master]
env:
REGISTRY: ghcr.io

View File

@@ -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 .