From d5fdbbc10a3695225df4a112dbf8a9bedfdc1143 Mon Sep 17 00:00:00 2001 From: Kabir Oberai Date: Sat, 17 May 2025 19:01:23 +0530 Subject: [PATCH] Release on tag --- .github/workflows/release.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 36fd0a4c..d96b1bfe 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,5 +1,7 @@ on: - workflow_dispatch: + push: + tags: + - "*" jobs: build-linux: @@ -72,6 +74,6 @@ jobs: path: output - name: Create and publish release run: | - TAG="${GITHUB_REF##*/}-${GITHUB_SHA:0:7}" - gh release create "$TAG" --draft --title "Draft Release" + TAG="${{ github.ref_name }}" + gh release create "$TAG" --draft --title "v$TAG" gh release upload "$TAG" output/**/*.{AppImage,AppImage.zsync,app.zip,app.dSYM.zip}