Skip to content

Commit

Permalink
chore: Add release-please-core workflow and configuration files
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
StanGirard committed Jul 9, 2024
1 parent 318b615 commit 07d25e4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release-please-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
13 changes: 0 additions & 13 deletions backend/core/.release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
}
13 changes: 13 additions & 0 deletions backend/core/release-please-config.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
}

0 comments on commit 07d25e4

Please sign in to comment.