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.
This commit is contained in:
Stan Girard 2024-07-09 16:00:31 +02:00
parent 318b615fcb
commit 07d25e4208
3 changed files with 14 additions and 13 deletions

View File

@ -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 }}

View File

@ -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"
}
}
}

View File

@ -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"
}
}
}