fix(main): update release-please

This commit is contained in:
Nate Kelley 2025-01-16 14:05:23 -07:00
parent 6a973decdb
commit 9732dfd6b7
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
2 changed files with 18 additions and 2 deletions

View File

@ -14,7 +14,23 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: googleapis/release-please-action@v4 - uses: googleapis/release-please-action@v4
id: release
with: with:
token: ${{ secrets.MY_RELEASE_PLEASE_TOKEN }} token: ${{ secrets.MY_RELEASE_PLEASE_TOKEN }}
config-file: release-please-config.json config-file: release-please-config.json
manifest-file: release-please-manifest.json manifest-file: release-please-manifest.json
skip-github-pull-request: true
- uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}
- name: Update version and push
if: ${{ steps.release.outputs.release_created }}
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
git add .
git commit -m "chore: update version to ${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}"
git push
env:
GITHUB_TOKEN: ${{ secrets.MY_RELEASE_PLEASE_TOKEN }}

View File

@ -1,3 +1,3 @@
{ {
".": "0.0.1" ".": "0.0.2"
} }