Skip to content

Commit

Permalink
chore(workflow): update version info with the latest commit during de…
Browse files Browse the repository at this point in the history
…v build workflow
  • Loading branch information
hamed-musallam committed Sep 2, 2023
1 parent cd4952d commit 732f5db
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/dev-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Update version number
run: |
VERSION=${GITHUB_REF//*\/}
echo "export default { version: '$VERSION' };" > src/versionInfo.ts
# Setup gcloud CLI
- name: Setup CLI
uses: google-github-actions/setup-gcloud@94337306dda8180d967a56932ceb4ddcf01edae7
Expand Down

0 comments on commit 732f5db

Please sign in to comment.