Uh oh!
There was an error while loading. Please reload this page.
feat: add version subcommand to display build metadata - #119
Conversation
joe-ton
commented
Apr 5, 2025
✅ Rebased with |
juruen
commented
Apr 5, 2025
There's already a isn't that enough? |
SamMorrowDrums
commented
Apr 5, 2025
I believe we can add a But as @juruen mentioned, the |
joe-ton
commented
Apr 5, 2025
Good point -- I noticed the -v flag after opening the PR. My intent here was improving the clarity and completeness of the build metadata for easier traceability in CI/CD environments. If we're aligned on keeping the simpler flag, I'm happy to refactor the existing -v output using SetVersionTemplate as Sam suggested. Would this work for you both? |
SamMorrowDrums
commented
Apr 5, 2025
Yes, definitely. |
deacd75 to
6b02799Comparejoe-ton
commented
Apr 5, 2025
Implemented version output improvement using |
joe-ton
commented
Apr 5, 2025
For easy reproduction and verification, you can use the following: In project root: Build: Test: |
SamMorrowDrums
commented
Apr 15, 2025
@joe-ton I fixed spaces instead of tabs, and because the template command uses a template library, I made use of it - although it doesn't make much difference. The output is the same. |
SamMorrowDrums
commented
Apr 15, 2025
@joe-ton the tabs not spaces thing for go is important, and you should have |
joe-ton
commented
Apr 15, 2025
@SamMorrowDrums Thanks for accepting the PR. Yes, I need to do |
Feature:
versionSubcommand for GitHub MCP Server CLIThis PR adds a new
versionsubcommand to the GitHub MCP Server CLI, providing build metadata for better visibility and traceability in development and CI environments.What’s Included
server versioncommand using CobraPerhaps work on Makefiles / automation (build + make) for later.