Skip to content

[RELEASE] Release of typo3-badges 1.2.1 #58

[RELEASE] Release of typo3-badges 1.2.1

[RELEASE] Release of typo3-badges 1.2.1 #58

Workflow file for this run

name: Release
on:
push:
tags:
- '*'
jobs:
# Job: Create release
release:
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
outputs:
release-notes-url: ${{ steps.create-release.outputs.url }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
# Check if tag is valid
- name: Check tag
run: |
if ! [[ ${{ github.ref }} =~ ^refs/tags/[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}$ ]]; then
exit 1
fi
# Create release
- name: Create release
id: create-release
uses: softprops/action-gh-release@v1
with:
generate_release_notes: true