28 lines
656 B
YAML
28 lines
656 B
YAML
name: Create new Release
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
tag:
|
|
description: "New tag name"
|
|
required: true
|
|
description:
|
|
description: "Description of the new tag"
|
|
required: true
|
|
|
|
jobs:
|
|
version:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
lfs: true
|
|
fetch-depth: 0
|
|
- name: Create and push new Tag
|
|
run: |
|
|
git config user.name "Nitwel"
|
|
git config user.email "mail@nitwel.de"
|
|
|
|
git tag -m "${{ github.event.inputs.description }}" ${{ github.event.inputs.tag }} main
|
|
git push -u origin main --tags
|