From df3a5d9aa096c464ebd46f98db86eabd5bc14a8b Mon Sep 17 00:00:00 2001 From: ThreshMain <50732964+ThreshMain@users.noreply.github.com> Date: Thu, 14 Oct 2021 12:21:33 +0200 Subject: [PATCH] updated workflow publish release with correct flag --- .github/workflows/maven.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 0db3100..7f38e3f 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -46,11 +46,15 @@ jobs: cp resourcepack/mcide.zip upload cp target/mcide*.jar upload + - name: Get realease version from pom.xml + id: get-version + uses: jactions/maven-version@v1.0.0 + - name: Upload files to a GitHub release uses: svenstaro/upload-release-action@2.2.1 with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: upload/* - tag: latest + tag: ${{ steps.get-version.outputs.version }} overwrite: true - file_glob: true \ No newline at end of file + file_glob: true