Change how build script reads version tag
This commit is contained in:
5
.github/workflows/jar.yaml
vendored
5
.github/workflows/jar.yaml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user