From 6d4df4edee3229003f73c1f97d9d405fb63c725a Mon Sep 17 00:00:00 2001 From: Andriy Oblivantsev Date: Wed, 24 Jun 2026 16:33:12 +0100 Subject: [PATCH] ci: allow manual GoReleaser dispatch for existing tags Release Please creates GitHub releases without pushing tag events that reliably trigger GoReleaser; workflow_dispatch publishes binaries for a given tag on demand. Co-authored-by: Cursor --- .github/workflows/release.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 35b1b0f..61e370f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,6 +3,12 @@ name: Release on: push: tags: ["v*"] + workflow_dispatch: + inputs: + tag: + description: Git tag to release (e.g. v0.4.0) + required: true + type: string permissions: contents: write @@ -15,6 +21,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 + ref: ${{ github.event_name == 'workflow_dispatch' && format('refs/tags/{0}', inputs.tag) || github.ref }} - name: Set up Go uses: actions/setup-go@v5