From 07d25e4208535f4692037c0f6caa1f69c8f790db Mon Sep 17 00:00:00 2001 From: Stan Girard Date: Tue, 9 Jul 2024 16:00:31 +0200 Subject: [PATCH] chore: Add release-please-core workflow and configuration files This commit adds the release-please-core workflow and configuration files for the python package in the backend. The release-please workflow is triggered on push to the main branch and on manual workflow dispatch. It sets up Python, installs Poetry, configures Poetry, and runs release-please for the backend/core package. The release-please configuration file specifies the release type, package name, bump patch for minor pre-major, changelog notes type, include v in tag, tag separator, and component. --- .github/workflows/release-please-core.yml | 1 + backend/core/.release-please-manifest.json | 13 ------------- backend/core/release-please-config.json | 13 +++++++++++++ 3 files changed, 14 insertions(+), 13 deletions(-) create mode 100644 backend/core/release-please-config.json diff --git a/.github/workflows/release-please-core.yml b/.github/workflows/release-please-core.yml index 5f3745e9875b..ac1f36740bcc 100644 --- a/.github/workflows/release-please-core.yml +++ b/.github/workflows/release-please-core.yml @@ -28,4 +28,5 @@ jobs: uses: google-github-actions/release-please-action@v4 with: manifest-file: backend/core/.release-please-manifest.json + config-file: backend/core/release-please-config.json token: ${{ secrets.RELEASE_PLEASE_TOKEN }} diff --git a/backend/core/.release-please-manifest.json b/backend/core/.release-please-manifest.json index 9ed044e6207c..e69de29bb2d1 100644 --- a/backend/core/.release-please-manifest.json +++ b/backend/core/.release-please-manifest.json @@ -1,13 +0,0 @@ -{ - "packages": { - "backend/core": { - "release-type": "python", - "package-name": "core", - "bump-patch-for-minor-pre-major": true, - "changelog-notes-type": "github", - "include-v-in-tag": false, - "tag-separator": "-", - "component": "core" - } - } -} \ No newline at end of file diff --git a/backend/core/release-please-config.json b/backend/core/release-please-config.json new file mode 100644 index 000000000000..9ed044e6207c --- /dev/null +++ b/backend/core/release-please-config.json @@ -0,0 +1,13 @@ +{ + "packages": { + "backend/core": { + "release-type": "python", + "package-name": "core", + "bump-patch-for-minor-pre-major": true, + "changelog-notes-type": "github", + "include-v-in-tag": false, + "tag-separator": "-", + "component": "core" + } + } +} \ No newline at end of file