From bb70309a6072895720ba3d770c47610bd29ae21e Mon Sep 17 00:00:00 2001 From: Avgustin Marinov Date: Fri, 27 Jun 2025 12:05:34 +0300 Subject: [PATCH] Fix/relese tag2 (#2510) * Fix release_tag.yaml Signed-off-by: Avgustin Marinov * Fix relase tag Signed-off-by: Avgustin Marinov --------- Signed-off-by: Avgustin Marinov --- .github/workflows/release.yaml | 3 +++ .github/workflows/release_tag.yaml | 5 +++-- .github/workflows/reusable_workflow_tag.yaml | 5 ++--- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d6e4474e9..7d51fa43e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -5,13 +5,16 @@ on: workflow_dispatch: inputs: revision: + type: string description: 'Release version' default: '0-SNAPSHOT' override_tag: + type: boolean description: 'If to move the tag if already exists' default: false required: false dry_run: + type: boolean description: 'If to skip publishing the release to central repository' default: false required: false diff --git a/.github/workflows/release_tag.yaml b/.github/workflows/release_tag.yaml index 67409d160..ea700846b 100644 --- a/.github/workflows/release_tag.yaml +++ b/.github/workflows/release_tag.yaml @@ -5,12 +5,13 @@ on: workflow_dispatch: inputs: revision: + type: string description: 'Release version' default: '0-SNAPSHOT' override_tag: + type: boolean description: 'If to move the tag if already exists' default: false - required: false permissions: contents: write @@ -36,4 +37,4 @@ jobs: with: tag_name: ${{ inputs.revision }} tag_message: "Release version ${{ inputs.revision }}" - override_tag: ${{ github.event.inputs.override_tag }} \ No newline at end of file + override_tag: ${{ inputs.override_tag }} \ No newline at end of file diff --git a/.github/workflows/reusable_workflow_tag.yaml b/.github/workflows/reusable_workflow_tag.yaml index 620f7e7eb..d27dddc4f 100644 --- a/.github/workflows/reusable_workflow_tag.yaml +++ b/.github/workflows/reusable_workflow_tag.yaml @@ -9,12 +9,11 @@ on: required: true tag_message: type: string - description: '' - required: false + description: 'Tag message (optional), e.g. "Release version 1.0.0"' + default: '' override_tag: type: boolean description: 'If to override the tag if already exists' - required: false default: false jobs: