Browse Source

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

pull/85/head
dacrab 5 months ago
parent
commit
e54f1236ec
  1. 5
      .github/workflows/auto-tag.yml
  2. 1
      .github/workflows/release.yml

5
.github/workflows/auto-tag.yml

@ -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

1
.github/workflows/release.yml

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

Loading…
Cancel
Save