diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml new file mode 100644 index 0000000000..16e6683ed7 --- /dev/null +++ b/.github/workflows/release-please.yml @@ -0,0 +1,35 @@ +name: release-please + +on: + push: + branches: + - develop + +permissions: + contents: write + pull-requests: write + +jobs: + release-please: + runs-on: ubuntu-latest + outputs: + paths_released: ${{ steps.manifest-release.outputs.paths_released }} + steps: + - uses: google-github-actions/release-please-action@v3 + id: manifest-release + with: + command: manifest + monorepo-tags: true + + - name: Show output from Release-Please + if: ${{ steps.manifest-release.outputs.releases_created }} + run: | + echo "release_created: ${{ steps.manifest-release.outputs.release_created }}" + echo "upload_url: ${{ steps.manifest-release.outputs.upload_url }}" + echo "html_url: ${{ steps.manifest-release.outputs.html_url }}" + echo "tag_name: ${{ steps.manifest-release.outputs.tag_name }}" + echo "major: ${{ steps.manifest-release.outputs.major }}" + echo "minor: ${{ steps.manifest-release.outputs.minor }}" + echo "patch: ${{ steps.manifest-release.outputs.patch }}" + echo "sha: ${{ steps.manifest-release.outputs.sha }}" + echo "pr: ${{ steps.manifest-release.outputs.pr }}" diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 46b1b67c03..edae66748e 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,9 @@ { - ".": "0.0.0" -} \ No newline at end of file + ".": "0.0.0", + "docs": "5.18.3", + "packages/sage-assets": "1.12.3", + "packages/sage-packs": "1.0.49", + "packages/sage-react": "1.17.3", + "packages/sage-system": "1.2.14" + +} diff --git a/release-please-config.json b/release-please-config.json index 41ecaacb05..b748348aec 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -1,12 +1,27 @@ { + "bootstrap-sha": "42ddac26b10cdb21dfcd547308fb6a29f9b8c6ef", + "bump-minor-pre-major": false, + "bump-patch-for-minor-pre-major": false, + "include-v-in-tag": false, + "include-component-in-tag": true, "packages": { - ".": { - "changelog-path": "CHANGELOG.md", - "bump-minor-pre-major": false, - "bump-patch-for-minor-pre-major": false, - "draft": false, - "prerelease": false + "docs":{ + }, + "packages/sage-assets": { + + }, + "packages/sage-packs": { + + }, + "packages/sage-react": { + + }, + "packages/sage-system": { + } }, + "plugins": [ + "sentence-case" + ], "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json" -} \ No newline at end of file +}