Skip to content

Commit

Permalink
fix: release please configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Nunamaker committed Jul 27, 2024
1 parent b578bc1 commit e1ec1ef
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ jobs:
with:
token: ${{ secrets.MY_RELEASE_PLEASE_TOKEN }}
release-type: python
bump-minor-pre-major: true
bump-patch-for-minor-pre-major: false
config-file: release-please-config.json

build-and-publish:
needs: [test, release-please]
Expand Down
10 changes: 10 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"packages": {
".": {
"release-type": "python",
"bump-minor-pre-major": true,
"bump-patch-for-minor-pre-major": false,
"versioning-strategy": "always-bump-minor"
}
}
}
1 change: 0 additions & 1 deletion rstring/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from .cli import main

__version__ = "0.2.0"
__all__ = ["main"]

0 comments on commit e1ec1ef

Please sign in to comment.