Skip to content

Manual Tag Creation #57

Manual Tag Creation

Manual Tag Creation #57

Workflow file for this run

name: Manual Tag Creation
on:
workflow_dispatch:
inputs:
tag:
description: 'Next release tag'
required: true
jobs:
tag-creation:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
- name: Tag
env:
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
run: |
echo ${{ github.event.inputs.tag }}
tag=${{ github.event.inputs.tag }}
message='New release'
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git tag -a "${tag}" -m "${message}"
git push origin "${tag}"