- Add workflow to move main version tag after release.
This commit is contained in:
josesimoes 2024-06-12 14:51:13 +01:00
Родитель be668c58a3
Коммит 8831a33237
1 изменённых файлов: 28 добавлений и 0 удалений

28
.github/workflows/update-main-version.yml поставляемый Normal file
Просмотреть файл

@ -0,0 +1,28 @@
# Copyright (c) .NET Foundation and Contributors
# See LICENSE file in the project root for full license information.
# This workflow moves the main version tag to the latest commit in the branch.
# To be manually triggered upon a new release.
name: Update Main Version
on:
workflow_dispatch:
inputs:
target:
description: The tag to move the major version to
required: true
major_version:
type: choice
description: The major version to update
options:
- v1
jobs:
update-dependencies:
name: nanoFramework
uses: nanoframework/nf-tools/.github/workflows/update-main-version.yml@main
secrets: inherit
with:
target: ${{ github.event.inputs.target }}
major_version: ${{ github.event.inputs.major_version }}