Skip to content

Commit

Permalink
Merge pull request #73 from SCAI-BIO/update-api-version-during-release
Browse files Browse the repository at this point in the history
Update API and Angular app versions during release
  • Loading branch information
tiadams authored Oct 18, 2024
2 parents f35166b + f8dabf2 commit d6c1a67
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ jobs:
- name: Get Version Tag
id: version
run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> "$GITHUB_OUTPUT"
- name: Update API Version
run: |
sed -i "s/version=\"[^\"]*\"/version=\"${{ steps.version.outputs.VERSION }}\"/" api/routes.py
- name: Update Angular App Version
run: |
cd client
npm --no-git-tag-version version from-git
- name: Docker Login
uses: docker/login-action@v1
with:
Expand Down

0 comments on commit d6c1a67

Please sign in to comment.