Skip to content

Commit 9599994

Browse files
committed
PD-5217
1 parent 9755261 commit 9599994

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

‎.github/workflows/bld_mvn.yml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,10 @@ jobs:
110110
git diff
111111
git rev-parse --abbrev-ref HEAD
112112
113-
- name: Append version comment to index.html
114-
run: 'echo "<!-- version: $version_tag_numeric -->" >> src/index.html'
113+
- name: Write version.json
114+
run: |
115+
mkdir -p src/assets
116+
echo "{\"version\":\"$version_tag_numeric\"}" > src/assets/version.json
115117
env:
116118
version_tag_numeric: ${{ format('{0}', steps.version.outputs.version_tag_numeric) }}
117119

‎src/assets/version.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"version":"0.0.0-dev"}

0 commit comments

Comments
 (0)