2023-11-21 14:45:54 +02:00
|
|
|
name: Create new Release
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
inputs:
|
|
|
|
tag:
|
|
|
|
description: "New tag name"
|
|
|
|
required: true
|
2023-11-24 03:35:03 +02:00
|
|
|
description:
|
|
|
|
description: "Description of the new tag"
|
|
|
|
required: true
|
2023-11-21 14:45:54 +02:00
|
|
|
|
|
|
|
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"
|
|
|
|
|
2023-11-24 03:35:03 +02:00
|
|
|
git tag -m "${{ github.event.inputs.description }}" ${{ github.event.inputs.tag }} main
|
|
|
|
git push -u origin main --tags
|