Fix/relese tag2 (#2510)
* Fix release_tag.yaml Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com> * Fix relase tag Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com> --------- Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
3
.github/workflows/release.yaml
vendored
3
.github/workflows/release.yaml
vendored
@@ -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
|
||||
|
||||
5
.github/workflows/release_tag.yaml
vendored
5
.github/workflows/release_tag.yaml
vendored
@@ -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 }}
|
||||
override_tag: ${{ inputs.override_tag }}
|
||||
5
.github/workflows/reusable_workflow_tag.yaml
vendored
5
.github/workflows/reusable_workflow_tag.yaml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user