Skip to content

Commit

Permalink
refactor: try release-search-depth
Browse files Browse the repository at this point in the history
  • Loading branch information
rabii-chaarani committed Oct 4, 2024
1 parent cc53fb9 commit 609ac84
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -254,17 +254,18 @@ jobs:
with:
name: loopprojectfile-conda-${{ matrix.os }}-${{ matrix.python-version }}
path: conda

release-please:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1 # Fetch history for all tags and branches
- uses: GoogleCloudPlatform/release-please-action@v4
id: release
with:
release-type: python
commit-search-depth: 10 # Fetch history for commits
release-search-depth: 1 # Fetch history for tags and branches
package-name-file: './pyproject.toml'
bump-minor-pre-major: true # Enable bumping minor version for pre-major releases
bump-patch-for-minor-pre-major: true # Enable bumping patch version for minor pre-major releases
Expand Down

0 comments on commit 609ac84

Please sign in to comment.