Skip to content

Commit

Permalink
Fix setting of __version__
Browse files Browse the repository at this point in the history
  • Loading branch information
jennydaman committed Nov 23, 2024
1 parent ad8da7f commit 1ec8e4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 1ec8e4c

Please sign in to comment.