chore: Update release-please workflow for python package in backend

This commit is contained in:
Stan Girard 2024-07-09 15:51:06 +02:00
parent 28b5c6a3d9
commit 70119ab652
2 changed files with 13 additions and 12 deletions

View File

@ -24,18 +24,6 @@ jobs:
with:
python-version: '3.11'
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
export PATH="$HOME/.local/bin:$PATH"
poetry --version
- name: Configure Poetry
run: |
poetry config virtualenvs.in-project true
cd backend/core
poetry install
- name: Run release-please
uses: google-github-actions/release-please-action@v4
with:

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