Skip to content

Commit

Permalink
fix: about.json api
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas GRUSON committed Jan 13, 2021
1 parent 3bc0df5 commit 962bbed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-back.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
- name: Create about.json
run: |
SHA=${GITHUB_SHA:0:7}
VERSION=$(shell xmllint --xpath '/*[local-name()="project"]/*[local-name()="version"]/text()' code/api/pom.xml)
VERSION=$(xmllint --xpath '/*[local-name()="project"]/*[local-name()="version"]/text()' code/api/pom.xml)
mkdir -p code/api/server/src/main/resources/static/api/version
jq -n --arg version $VERSION --arg sha $SHA -f code/api/build/template/about.jq > code/api/server/src/main/resources/static/api/version/about.json
-
Expand Down

0 comments on commit 962bbed

Please sign in to comment.