diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 332aff57..be59e8cb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,17 +32,11 @@ jobs: uv sync uv build - - name: Verify version matches tag + - name: Verify build succeeded run: | - # Get version from built package - PACKAGE_VERSION=$(uv run python -c "import basic_memory; print(basic_memory.__version__)") - TAG_VERSION=${GITHUB_REF_NAME#v} # Remove 'v' prefix from tag - echo "Package version: $PACKAGE_VERSION" - echo "Tag version: $TAG_VERSION" - if [ "$PACKAGE_VERSION" != "$TAG_VERSION" ]; then - echo "Version mismatch! Package: $PACKAGE_VERSION, Tag: $TAG_VERSION" - exit 1 - fi + # Verify that build artifacts exist + ls -la dist/ + echo "Build completed successfully" - name: Create GitHub Release uses: softprops/action-gh-release@v2 diff --git a/src/basic_memory/__init__.py b/src/basic_memory/__init__.py index 5696806e..c2d3e8d3 100644 --- a/src/basic_memory/__init__.py +++ b/src/basic_memory/__init__.py @@ -1,3 +1,4 @@ """basic-memory - Local-first knowledge management combining Zettelkasten with knowledge graphs""" -__version__ = "0.13.0b5" +# API version for FastAPI - independent of package version +__version__ = "v0"