Skip to content

Commit 58a4a68

Browse files
committed
fix: update release action
1 parent 1f9a19c commit 58a4a68

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/prod-build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@ jobs:
3434
steps:
3535
- name: Checkout
3636
uses: actions/checkout@v2
37-
38-
- name: Update version number
39-
run: |
40-
VERSION=${GITHUB_REF//*\/}
41-
echo "export default { version: '$VERSION' };" > src/versionInfo.ts
4237

4338
# Setup gcloud CLI
4439
- name: Setup CLI
@@ -87,6 +82,11 @@ jobs:
8782
username: ${{ env.DOCKER_HUB_USERNAME }}
8883
password: ${{ env.DOCKER_HUB_PASSWORD }}
8984

85+
- name: Update version number
86+
run: |
87+
VERSION=${GITHUB_REF//*\/}
88+
echo "export default { version: '$VERSION' };" > src/versionInfo.ts
89+
9090
# Build npm for release
9191
- name: Build npm
9292
run: |-

0 commit comments

Comments
 (0)