From 94e323893d63d33c6d0585f20b5a4fc195b510b5 Mon Sep 17 00:00:00 2001 From: Joe Davidson Date: Tue, 31 Dec 2024 15:29:36 +0000 Subject: [PATCH] chore: add manual release input --- .github/workflows/release.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 91e971d..f8431de 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,6 +5,11 @@ on: tags: - '*' workflow_dispatch: + inputs: + tag: + description: 'select tag' + required: true + type: string permissions: contents: write @@ -18,6 +23,13 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 + + - + name: Checkout tag if provided + if: github.event.inputs.tag + uses: actions/checkout@v4 + with: + ref: ${{ github.event.inputs.tag }} - name: Set up Go uses: actions/setup-go@v5