Skip to content

Commit

Permalink
trying to get version.json working
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisj committed Aug 16, 2023
1 parent b850784 commit 767cbae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ jobs:
- run: npm install
- name: Typecheck with TypeScript
run: npm run typecheck
- name: Get build info
run: |
build_info="{'tag':'$(git describe --always --tags)', 'url':'https://github.com/${{github.repository}}/commit/$(git rev-parse HEAD)', 'timestamp':'$(date)'}"
echo build_info
echo build_info > src/version.json
shell: bash
- name: Build client bundles
run: node ./config/esbuild-cli.js --config=min --no-typecheck --define STATE_SERVERS=$(cat config/state_servers.json | tr -d " \t\n\r")
- run: cp -r ./dist/min appengine/frontend/static/
Expand Down

0 comments on commit 767cbae

Please sign in to comment.