From 921beaeeb4887fcc8a4ac7926a27b61713b21514 Mon Sep 17 00:00:00 2001 From: "kayos@tcp.direct" Date: Thu, 2 Feb 2023 23:11:58 -0800 Subject: [PATCH] CD: Setup target tag as input --- .github/workflows/release-command.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release-command.yml b/.github/workflows/release-command.yml index a69f53a..5388713 100644 --- a/.github/workflows/release-command.yml +++ b/.github/workflows/release-command.yml @@ -9,6 +9,9 @@ on: comment-id: description: 'The comment-id of the slash command' required: true + tag: + description: 'The tag to be released' + required: true jobs: release: @@ -36,6 +39,7 @@ jobs: build_flags: -trimpath pre_command: export CGO_ENABLED=0 ldflags: -s -w + release_tag: ${{ github.event.inputs.tag }} - name: Add reaction uses: peter-evans/create-or-update-comment@v2 with: