Skip to content

Auto release on tag

Auto release on tag #1

Workflow file for this run

name: Tagging
on:
push:
tags:
- '*'
jobs:
tag:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Fail if tag is not prefixed by v
run: |
if [[ $GITHUB_REF_NAME =~ ^v[0-9]+\.[0-9]+\.[0-9].* ]]; then
echo "Valid version format"
else
echo "Invalid version format"
exit 1
fi