Skip to content

Release

Release #17

Workflow file for this run

name: "Release"
on:
workflow_dispatch:
jobs:
release:
name: Create release tag
runs-on: ubuntu-latest
steps:
- name: Checkout repository (full-depth)
uses: actions/checkout@v4
with: { fetch-depth: 0 } # Required to determine version
- name: Get next release version
uses: dronetag/actions/get-next-version@main
id: get-next-version
- name: Create the tag (if it does not exist yet)
run: |
git show-ref --tags --verify --quiet "refs/tags/v${{ steps.get-next-version.outputs.version }}" && exit 0
git config --local user.email "" && git config --local user.name "GitHub Action"
git tag v${{ steps.get-next-version.outputs.version }}
git push origin v${{ steps.get-next-version.outputs.version }}