feat: add version command and improve --version output#467
Merged
mathieu-benoit merged 3 commits intoApr 16, 2026
Conversation
Agent-Logs-Url: https://github.com/score-spec/score-compose/sessions/045520ab-1cd7-4aa8-a45a-86c61f9fb763 Co-authored-by: mathieu-benoit <11720844+mathieu-benoit@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
mathieu-benoit
April 15, 2026 03:15
View session
Contributor
Overview
Policies (0 improved, 0 worsened)
Packages and Vulnerabilities (1 package changes and 0 vulnerability changes)
Changes for packages of type
|
| Package | Versionscore-compose:latest |
Versionscore-compose:latest |
|
|---|---|---|---|
| ♾️ | github.com/score-spec/score-compose | 0.0.0-20260415110835-f0efa4287439+dirty |
0.0.0-20260416002040-e47af05e8a44+dirty |
…tainer image build Agent-Logs-Url: https://github.com/score-spec/score-compose/sessions/d6ae2ca9-b260-4789-9bf3-7fcde747f285 Co-authored-by: mathieu-benoit <11720844+mathieu-benoit@users.noreply.github.com>
Contributor
|
Now included in this release https://github.com/score-spec/score-compose/releases/tag/0.37.0.
|
Contributor
|
FYI: associated docs now updated score-spec/docs#277 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Like done there score-spec/score-implementation-sample#93, fix and improve
--versionand add newversioncommand.Update for
score-compose --version:docker run --rm -it scorespec/score-compose:latest --version):Note: we can see that the
-dirtysuffix of thegit commit/shais fixed and that we are also adding more insightful information like the runtime version and platform. Thebuildandgit commit/shaare also now fixed when running the container image.New
score-compose versioncommand:Note: we can see that this new command
versiongenerating the same output as--version, and add the Score logo (which can be disabled with--no-logo), and the versions update check (which can be disabled with--no-updates-check).