From e1ec1efd8aad933b993924c31ac14824a37d8c2b Mon Sep 17 00:00:00 2001 From: Tim Nunamaker Date: Sat, 27 Jul 2024 16:54:21 -0500 Subject: [PATCH] fix: release please configuration --- .github/workflows/package.yml | 3 +-- release-please-config.json | 10 ++++++++++ rstring/__init__.py | 1 - 3 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 release-please-config.json diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 4ea9569..56245c8 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -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] diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000..4b149b5 --- /dev/null +++ b/release-please-config.json @@ -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" + } + } +} diff --git a/rstring/__init__.py b/rstring/__init__.py index d8905aa..ed32c05 100755 --- a/rstring/__init__.py +++ b/rstring/__init__.py @@ -1,4 +1,3 @@ from .cli import main -__version__ = "0.2.0" __all__ = ["main"]