We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e892a1 commit 3ad71ecCopy full SHA for 3ad71ec
.github/workflows/release.yml
@@ -13,6 +13,9 @@ jobs:
13
steps:
14
- name: Checkout Repository
15
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\//}
19
- uses: actions/setup-node@v3
20
with:
21
node-version: 14.20.0
@@ -25,7 +28,7 @@ jobs:
25
28
env:
26
29
REACT_APP_BASE_API_URL: "/api/v1"
27
30
REACT_APP_MOCKAPI_RESPONSE: false
- REACT_APP_VERSION: ${{ github.ref }}
31
+ REACT_APP_VERSION: ${{ steps.get_version.outputs.VERSION }}
32
- name: Generate Changelog
33
uses: heinrichreimer/[email protected]
34
0 commit comments