Skip to content
This repository was archived by the owner on Mar 27, 2023. It is now read-only.

Commit aef4f37

Browse files
authored
Update release.yml
1 parent db90614 commit aef4f37

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,13 @@ jobs:
2626
- name: Install node modules
2727
working-directory: ./src-frontend
2828
run: npm install
29+
30+
- name: Get the version
31+
id: get_version
32+
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
33+
2934
- name: Build with Gradle
30-
run: gradle -Pversion="${{ github.ref }}" build
35+
run: gradle -Pversion="${{ steps.get_version.outputs.VERSION }}" build
3136
env:
3237
USERNAME: ${{ github.actor }}
3338
TOKEN: ${{ secrets.PACKAGE_TOKEN }}

0 commit comments

Comments
 (0)