Skip to content

Commit d5c95f9

Browse files
mldangeloclaude
andauthored
fix: configure release-please for initial 0.2.0 release (#7)
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 <noreply@anthropic.com>
1 parent 79fbc2a commit d5c95f9

File tree

3 files changed

+20
-2
lines changed

3 files changed

+20
-2
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.2.0"
2+
".": "0.1.0"
33
}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "promptfoo"
7-
version = "0.2.0"
7+
version = "0.1.0"
88
description = "Python wrapper for the promptfoo CLI - LLM testing, red teaming, and security evaluation"
99
authors = [
1010
{ name = "Ian Webster", email = "ian@promptfoo.dev" },

release-please-config.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"packages": {
3+
".": {
4+
"release-type": "python",
5+
"package-name": "promptfoo",
6+
"changelog-path": "CHANGELOG.md",
7+
"bump-minor-pre-major": true,
8+
"bump-patch-for-minor-pre-major": true,
9+
"extra-files": [
10+
{
11+
"type": "generic",
12+
"path": "pyproject.toml",
13+
"glob": false
14+
}
15+
]
16+
}
17+
}
18+
}

0 commit comments

Comments
 (0)