ci: make release workflow reusable and call it from auto-tag

This commit is contained in:
dacrab 2024-12-27 13:07:03 +02:00
parent 98537b94f9
commit e54f1236ec
2 changed files with 7 additions and 1 deletions

View File

@ -46,3 +46,8 @@ jobs:
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git tag -a $new_tag -m "Release $new_tag"
git push origin $new_tag
release:
needs: auto-tag
uses: ./.github/workflows/release.yml
secrets: inherit

View File

@ -1,6 +1,7 @@
name: Release
on:
workflow_call:
push:
tags:
- 'v*'