From dac76efdd1b2dfb6e41f0f63ddf3dba443da8c5b Mon Sep 17 00:00:00 2001 From: Artur Glavic Date: Thu, 30 Jan 2025 15:18:52 +0100 Subject: [PATCH] set the tag for github release to the last git tag --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index be532af..27ad4e0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -92,8 +92,11 @@ jobs: - uses: actions/download-artifact@v4 with: name: windows-dist + - name: get latest version tag + run: echo "RELEASE_TAG=$(git describe --abbrev=0 --tags)" >> $GITHUB_ENV - uses: ncipollo/release-action@v1 with: artifacts: "amor*.tar.gz,*.zip" token: ${{ secrets.GITHUB_TOKEN }} allowUpdates: true + tag: ${{ env.RELEASE_TAG }}