ci(release): setup release-please

This commit is contained in:
2023-04-26 01:02:32 +01:00
parent edbd57893b
commit d162ddc970
3 changed files with 33 additions and 0 deletions

16
.github/workflows/release-please.yml vendored Normal file
View File

@@ -0,0 +1,16 @@
---
on: push
jobs:
release-please:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
outputs:
release_created: ${{ steps.release-please.outputs.release_created }}
tag_name: ${{ steps.release-please.outputs.tag_name }} # e.g. v1.0.0
version: ${{ steps.release-please.outputs.version }} # e.g. 1.0.0
steps:
- uses: google-github-actions/release-please-action@v3
id: release-please
with:
command: manifest