update tag release workflow

This commit is contained in:
Nitwel 2023-11-24 02:35:03 +01:00
parent 7539453e76
commit 305953ecb6

View File

@ -6,6 +6,9 @@ on:
tag: tag:
description: "New tag name" description: "New tag name"
required: true required: true
description:
description: "Description of the new tag"
required: true
jobs: jobs:
version: version:
@ -20,5 +23,5 @@ jobs:
git config user.name "Nitwel" git config user.name "Nitwel"
git config user.email "mail@nitwel.de" git config user.email "mail@nitwel.de"
git tag ${{ github.event.inputs.tag }} git tag -m "${{ github.event.inputs.description }}" ${{ github.event.inputs.tag }} main
git push origin ${{ github.event.inputs.tag }} git push -u origin main --tags