Skip to content

feat: #34 add repo URL to version output#35

Merged
tyrantkhan merged 2 commits intomainfrom
test/34-release-please-squash-test
Mar 8, 2026
Merged

feat: #34 add repo URL to version output#35
tyrantkhan merged 2 commits intomainfrom
test/34-release-please-squash-test

Conversation

@tyrantkhan
Copy link
Copy Markdown
Owner

Summary

  • Fix version URL to use correct bitbucket-cli repo name
  • Add repo URL to version output

Test PR to verify release-please picks up both feat and fix commits from squash merge body.

Closes #34

@gemini-code-assist
Copy link
Copy Markdown
Contributor

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 improves the version command's output by ensuring the release URL points to the correct repository and by adding the main repository URL. This makes it easier for users to find the project's releases and its main page directly from the version information.

Highlights

  • Version Output Enhancement: The version command output now includes the correct repository release URL and the main repository URL for better discoverability.
  • URL Correction: The previously incorrect repository name (bb) in the release URL has been updated to the correct bitbucket-cli.
Changelog
  • cmd/root.go
    • Corrected the repository name in the release URL from bb to bitbucket-cli.
    • Added the main repository URL https://github.com/tyrantkhan/bitbucket-cli to the version output.
Activity
  • No human activity (comments, reviews) has been recorded for this pull request yet.
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.

@tyrantkhan tyrantkhan merged commit a0f187a into main Mar 8, 2026
6 checks passed
Copy link
Copy Markdown
Contributor

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

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 updates the version output to include the correct repository URL and a link to the repository. The change is correct, but I've suggested a small improvement to define the URL as a constant to avoid repetition and improve maintainability.

Comment thread cmd/root.go
Comment on lines +61 to +62
s += fmt.Sprintf("\nhttps://github.com/tyrantkhan/bitbucket-cli/releases/tag/v%s", Version)
s += "\nhttps://github.com/tyrantkhan/bitbucket-cli"
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.

medium

For better maintainability and to avoid repetition, you could define the repository URL as a constant and combine the string concatenations into a single fmt.Sprintf call. This makes it easier to update in the future if it ever changes.

Suggested change
s += fmt.Sprintf("\nhttps://github.com/tyrantkhan/bitbucket-cli/releases/tag/v%s", Version)
s += "\nhttps://github.com/tyrantkhan/bitbucket-cli"
const repoURL = "https://github.com/tyrantkhan/bitbucket-cli"
s += fmt.Sprintf("\n%s/releases/tag/v%s\n%s", repoURL, Version, repoURL)

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.

test: verify release-please parses multiple conventional commits from squash merge

1 participant