diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 695f6f939..e298aa7d0 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -14,7 +14,23 @@ jobs: runs-on: ubuntu-latest steps: - uses: googleapis/release-please-action@v4 + id: release with: token: ${{ secrets.MY_RELEASE_PLEASE_TOKEN }} config-file: release-please-config.json - manifest-file: release-please-manifest.json \ No newline at end of file + 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 }} diff --git a/release-please-manifest.json b/release-please-manifest.json index b985ff6e7..40ff6fe0d 100644 --- a/release-please-manifest.json +++ b/release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.0.1" + ".": "0.0.2" }