Skip to content

Commit

Permalink
Update the GUI version when building
Browse files Browse the repository at this point in the history
Fixes #151
  • Loading branch information
qligier committed Jan 25, 2024
1 parent 785cf91 commit b327468
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/angular_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@ jobs:
cache: npm
cache-dependency-path: matchbox-frontend/package-lock.json

- name: Update the project version
shell: bash
run: |
cd ..
VERSION=mvn help:evaluate -Dexpression=project.version -q -DforceStdout
echo "The project version is ${VERSION}"
cd ./matchbox-frontend
npm --no-git-tag-version --allow-same-version=true version "$VERSION"
- name: Install dependencies
run: npm install

Expand Down

0 comments on commit b327468

Please sign in to comment.