Skip to content

feat: add release-please configuration and manifest with initial version 0.1.0#84

Closed
oxddr wants to merge 1 commit into
open-feature:mainfrom
oxddr:main
Closed

feat: add release-please configuration and manifest with initial version 0.1.0#84
oxddr wants to merge 1 commit into
open-feature:mainfrom
oxddr:main

Conversation

@oxddr

@oxddr oxddr commented Mar 10, 2026

Copy link
Copy Markdown
Contributor

This should hopefully fix broken release workflow.

@oxddr oxddr requested review from a team as code owners March 10, 2026 14:02
…ion 0.1.0

Signed-off-by: Janek Łukaszewicz <janluk@google.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds Release Please configuration/manifest to restore automated releases on main.

Changes:

  • Introduces release-please-config.json with a single-package (".") simple release strategy.
  • Adds .release-please-manifest.json to seed the current release version (0.1.0).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
release-please-config.json Defines Release Please behavior for the root package.
.release-please-manifest.json Seeds the version baseline used by Release Please to calculate next releases.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@@ -0,0 +1,3 @@
{
".": "0.1.0"

Copilot AI Mar 10, 2026

Copy link

Choose a reason for hiding this comment

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

The manifest version should match the latest already-released version/tag for the repo. README currently links to a v0.0.1 release, but the manifest is initialized to 0.1.0, which will cause release-please to compute subsequent versions from the wrong baseline (e.g., start bumping from 0.1.0 even if 0.0.1 is the current release). Consider setting this to the current released version, or updating existing release/tag references if 0.1.0 is intended to be the baseline.

Copilot uses AI. Check for mistakes.
@gemini-code-assist

Copy link
Copy Markdown

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request establishes an automated release management system using release-please. By adding the necessary configuration and an initial version manifest, it aims to streamline the versioning and release workflow, addressing previous issues with the release process.

Highlights

  • Release Automation Setup: Introduced release-please configuration to automate the release process, aiming to fix the broken release workflow.
  • Initial Version Manifest: Created .release-please-manifest.json with an initial project version set to 0.1.0.
  • Release Configuration: Configured release-please for a 'simple' release type, enabling minor version bumps before major releases and patch bumps for minor pre-major changes.
Changelog
  • .release-please-manifest.json
    • Added initial manifest file with version 0.1.0.
  • release-please-config.json
    • Added configuration for release-please to define release type and version bumping logic.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request introduces configuration for release-please to automate the release process. It adds a manifest file with an initial version and a configuration file. The changes are a good starting point. My review includes suggestions to add JSON schemas to these files, which will improve maintainability and provide editor support for validation and auto-completion.

Note: Security Review has been skipped due to the limited scope of the PR.

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

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

It's beneficial to include the $schema for this manifest file. It helps with validation and editor tooling. Additionally, it's a common convention to end files with a newline character.

Suggested change
{
".": "0.1.0"
}
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/manifest.json",
".": "0.1.0"
}

Comment on lines +1 to +9
{
"packages": {
".": {
"release-type": "simple",
"bump-minor-pre-major": true,
"bump-patch-for-minor-pre-major": true
}
}
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

To improve maintainability and provide editor support (like auto-completion and validation), it's a good practice to add a $schema key to your release-please-config.json file. This helps prevent typos and ensures the configuration is valid.

Suggested change
{
"packages": {
".": {
"release-type": "simple",
"bump-minor-pre-major": true,
"bump-patch-for-minor-pre-major": true
}
}
}
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"packages": {
".": {
"release-type": "simple",
"bump-minor-pre-major": true,
"bump-patch-for-minor-pre-major": true
}
}
}

@oxddr oxddr closed this Mar 11, 2026
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.

2 participants