From e243c516f00ca204c841d6b6696521e1c188f1eb Mon Sep 17 00:00:00 2001 From: mldangelo Date: Mon, 5 Jan 2026 23:48:02 -0800 Subject: [PATCH] fix: configure release-please for initial 0.2.0 release MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add release-please configuration and set versions to 0.1.0 to enable the first release PR to bump to 0.2.0. This fixes the workflow failure caused by missing release-please-config.json. Changes: - Add release-please-config.json with Python package configuration - Set .release-please-manifest.json to 0.1.0 (from 0.2.0) - Set pyproject.toml version to 0.1.0 (from 0.2.0) This allows release-please to create a PR that will bump the version to 0.2.0 for the first actual release. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- .release-please-manifest.json | 2 +- pyproject.toml | 2 +- release-please-config.json | 18 ++++++++++++++++++ 3 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 release-please-config.json diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 2be9c43..466df71 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.2.0" + ".": "0.1.0" } diff --git a/pyproject.toml b/pyproject.toml index 5ec2be2..28de84e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "promptfoo" -version = "0.2.0" +version = "0.1.0" description = "Python wrapper for the promptfoo CLI - LLM testing, red teaming, and security evaluation" authors = [ { name = "Ian Webster", email = "ian@promptfoo.dev" }, diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000..b07f3b1 --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,18 @@ +{ + "packages": { + ".": { + "release-type": "python", + "package-name": "promptfoo", + "changelog-path": "CHANGELOG.md", + "bump-minor-pre-major": true, + "bump-patch-for-minor-pre-major": true, + "extra-files": [ + { + "type": "generic", + "path": "pyproject.toml", + "glob": false + } + ] + } + } +}