Skip to content

chore: bootstrap releases for path: . - #574

Merged
lukeocodes merged 1 commit into
nextfrom
release-please/bootstrap/default
Sep 28, 2025
Merged

lukeocodes merged 1 commit into
nextfrom
release-please/bootstrap/default

Conversation

@lukeocodes

@lukeocodes lukeocodes commented Sep 28, 2025 •

Copy link
Copy Markdown
Contributor

Configuring release-please for path: .

Summary by CodeRabbit

  • New Features

    • None
  • Chores

    • Added release configuration to automate versioning and changelog generation for the root package.
    • Introduced a manifest establishing the initial version mapping.
    • Standardized changelog location and release settings (non-draft, non-prerelease) for consistent releases.
    • Enables clearer, automated release notes in future updates.
  • Notes

    • No user-facing changes in this release; app behavior remains unchanged.

@coderabbitai

coderabbitai Bot commented Sep 28, 2025 •

Copy link
Copy Markdown
Contributor

Walkthrough

Introduces release-please configuration by adding two root-level files: .release-please-manifest.json with a root module version mapping and release-please-config.json defining release settings and changelog path via the Googleapis release-please schema.

Changes

Cohort / File(s) Summary
Release Please setup
./.release-please-manifest.json, ./release-please-config.json
Add manifest mapping root package "." to version "0.0.0"; add release-please config targeting root with specified changelog path and release flags, referencing the official schema.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The title "chore: bootstrap releases for path: ." accurately captures the primary change in this pull request, which is the addition of release-please manifest and configuration files for the project root path. It is concise and specific, avoiding unnecessary detail while clearly conveying the main purpose of the update.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch release-please/bootstrap/default

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 3cca1b1 and db0ef53.

📒 Files selected for processing (2)
  • .release-please-manifest.json (1 hunks)
  • release-please-config.json (1 hunks)

Comment on lines +1 to +3
{
".": "0.0.0"
} No newline at end of file

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

Set manifest to the real last released version

Setting the root to 0.0.0 tells release-please that the most recent release was 0.0.0, so the very next PR will try to tag a brand-new 0.x version and ignore the existing 4.x history. Please seed the manifest with the actual current version (today that’s 4.8.1) so the generated release cadence stays aligned with what’s already on PyPI. (github.com)

Apply this diff to fix the initial version:

-  ".": "0.0.0"
+  ".": "4.8.1"
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
{
".": "0.0.0"
}
{
".": "4.8.1"
}
🤖 Prompt for AI Agents
In .release-please-manifest.json around lines 1 to 3 the manifest seeds the root
version as "0.0.0", which will make release-please ignore existing 4.x history;
update the manifest to the actual last released version by replacing "0.0.0"
with "4.8.1" so future releases continue from the correct version.

Comment on lines +2 to +9
"packages": {
".": {
"changelog-path": "CHANGELOG.md",
"bump-minor-pre-major": false,
"bump-patch-for-minor-pre-major": false,
"draft": false,
"prerelease": false
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

Declare the Python release strategy

Without an explicit release-type, release-please defaults this component to node, which will skip all of the Python-version bumping logic and leave files like pyproject.toml untouched. Add the Python release type (and the matching package name) so the bot edits the correct artifacts. (github.com)

Apply this diff to align the configuration with the Python SDK:

-    ".": {
+    ".": {
+      "release-type": "python",
+      "package-name": "deepgram-sdk",
       "changelog-path": "CHANGELOG.md",
       "bump-minor-pre-major": false,
       "bump-patch-for-minor-pre-major": false,
       "draft": false,
       "prerelease": false
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"packages": {
".": {
"changelog-path": "CHANGELOG.md",
"bump-minor-pre-major": false,
"bump-patch-for-minor-pre-major": false,
"draft": false,
"prerelease": false
}
"packages": {
".": {
"release-type": "python",
"package-name": "deepgram-sdk",
"changelog-path": "CHANGELOG.md",
"bump-minor-pre-major": false,
"bump-patch-for-minor-pre-major": false,
"draft": false,
"prerelease": false
}
🤖 Prompt for AI Agents
In release-please-config.json around lines 2 to 9, the package entry lacks a
release-type and package-name so release-please defaults to node and won't
update Python artifacts; add "release-type": "python" and "package-name":
"<your-python-package-name>" (replace with the actual PyPI/package identifier
used in pyproject.toml) to the "." package object so the releaser runs
Python-specific bumping and edits pyproject.toml and other Python files.

@lukeocodes
lukeocodes changed the base branch from main to next September 28, 2025 11:22
@lukeocodes
lukeocodes merged commit b5c7e71 into next Sep 28, 2025
3 checks passed
@lukeocodes
lukeocodes deleted the release-please/bootstrap/default branch September 28, 2025 11:23
lukeocodes added a commit that referenced this pull request Sep 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant