From c79bfa6d2b701bb22ebc83a16958360c7f9b766b Mon Sep 17 00:00:00 2001 From: Callahan Kovacs Date: Sun, 10 Nov 2024 09:57:00 -0600 Subject: [PATCH] ci: fix release workflow Signed-off-by: Callahan Kovacs --- .github/workflows/publish.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 1d01e6d..c787f94 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -2,9 +2,8 @@ name: Build and Release DEB on: push: - branches: - - main - workflow_dispatch: + tags: + - '*' jobs: build: @@ -27,4 +26,6 @@ jobs: with: artifacts: ${{ env.deb_file }} token: ${{ secrets.GITHUB_TOKEN }} - tag: "latest" + removeArtifacts: true + replacesArtifacts: true + allowUpdates: true