feat(ci): create Gitea release on main bump and GitHub release on v* tags

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
dasemuandClaude Sonnet 5.5 committed 2026-10-18 21:49:38 +02:00
1 parent 08148d90d0
commit 8846e2d95a
3 files changed
+36 -1

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
name: Release
# Gitea creates the vX.Y.Z tag and release; this runs where that tag is mirrored.
on:
push:
tags: ["v*"]
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create GitHub release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release create "${{ github.ref_name }}" --title "${{ github.ref_name }}" --generate-notes --verify-tag