From 1ec8e4c3242e178a0560ccdc6ee67573f314a585 Mon Sep 17 00:00:00 2001 From: Jennings Zhang Date: Sat, 23 Nov 2024 15:17:53 -0500 Subject: [PATCH] Fix setting of __version__ --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8af2c358..c519e8a3 100755 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,7 +37,7 @@ jobs: - uses: actions/checkout@v4 - name: Update __version__.py if: startsWith(github.ref, 'refs/tags/v') - run: echo '__version__ = "${GITHUB_REF_NAME:1}"' > chris_backend/__version__.py + run: echo "__version__ = '${GITHUB_REF_NAME:1}'" > chris_backend/__version__.py - name: Docker meta id: meta uses: docker/metadata-action@v5 @@ -94,7 +94,7 @@ jobs: - uses: actions/checkout@v4 - name: Update __version__.py if: startsWith(github.ref, 'refs/tags/v') - run: echo '__version__ = "${GITHUB_REF_NAME:1}"' > chris_backend/__version__.py + run: echo "__version__ = '${GITHUB_REF_NAME:1}'" > chris_backend/__version__.py - run: just prefer docker - run: just build - name: Generate OpenAPI schema (correct)