Change how build script reads version tag

This commit is contained in:
Joseph Henry
2021-05-18 23:38:52 -07:00
parent a56ca93f54
commit f5c9450d0c
3 changed files with 10 additions and 7 deletions

View File

@@ -15,11 +15,8 @@ jobs:
- name: Install JDK
run: sudo apt install default-jdk
- name: Set env
run: echo "RELEASE_VERSION=`echo $(git describe --tags --abbrev=0)`" >> $GITHUB_ENV
- name: Build
run: PKG_VER_TAG=$RELEASE_VERSION ./build.sh host-jar "release"
run: ./build.sh host-jar "release"
- uses: actions/upload-artifact@v2
with: