Skip to content

Commit

Permalink
Update API and Angular app version during release
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetcanay committed Oct 18, 2024
1 parent f35166b commit f8dabf2
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 f8dabf2

Please sign in to comment.