Skip to content

Commit 3ad71ec

Browse files
committed
Fix UI version in release workflow build
1 parent 8e892a1 commit 3ad71ec

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ jobs:
1313
steps:
1414
- name: Checkout Repository
1515
uses: actions/checkout@v2
16+
- name: Get the version from the github tag ref
17+
id: get_version
18+
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
1619
- uses: actions/setup-node@v3
1720
with:
1821
node-version: 14.20.0
@@ -25,7 +28,7 @@ jobs:
2528
env:
2629
REACT_APP_BASE_API_URL: "/api/v1"
2730
REACT_APP_MOCKAPI_RESPONSE: false
28-
REACT_APP_VERSION: ${{ github.ref }}
31+
REACT_APP_VERSION: ${{ steps.get_version.outputs.VERSION }}
2932
- name: Generate Changelog
3033
uses: heinrichreimer/[email protected]
3134
with:

0 commit comments

Comments
 (0)