GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||
GeezerVison is showing github.com — VERSION files + buildinfo-based VCS info (discussion #13287) by shykes · Pull Request #13313 · dagger/dagger Conversation
|
I see. If I understand correctly, the issue is that |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@shykes In a way yes |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
d702487 to
5f8b7ef
Compare
#13313 removed cli-dev's imageTag arg but left this dangling ref, so release didn't build. Isolated so it can drop if fixed upstream. Signed-off-by: Solomon Hykes <[email protected]>
5f8b7ef to
cd5b6dc
Compare
dagger#13313 removed cli-dev's imageTag arg but left this dangling ref, so release didn't build. Isolated so it can drop if fixed upstream. Signed-off-by: Solomon Hykes <[email protected]>
cd5b6dc to
aefc69a
Compare
Add an internal package that embeds VERSION and reads Go build info via github.com/dagger/go/buildinfo. It exposes the build version, VCS revision, dirty state, and human-readable identifiers used by later CLI and engine wiring. Signed-off-by: Solomon Hykes <[email protected]> Co-authored-by: Tibor Vass <[email protected]> Signed-off-by: Tibor Vass <[email protected]>
bac0ac6 to
a700e58
Compare
Print the CLI version from engine.Version plus the platform and, when available, the short VCS state from internal/version. Add -q/--quiet for the canonical build identifier and teach installer tests that the commit state is optional trailing data. Signed-off-by: Solomon Hykes <[email protected]> Co-authored-by: Tibor Vass <[email protected]> Signed-off-by: Tibor Vass <[email protected]>
a700e58 to
103bb31
Compare
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Update:
dagger version keeps the v prefix.dagger version includes fields that were previously shown: platform and runner-host.engine.Tag remains overrideable by release pipelines via ldflagsengine.Tag is empty, it is derived:
engine.Versionmain
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Populate engine.Version from internal/version and derive engine.Tag from the VCS commit for dev builds while keeping release tags version-based. Preserve the existing env override behavior and broaden dev-version recognition for v1.0.0-dev style prereleases. Signed-off-by: Solomon Hykes <[email protected]> Co-authored-by: Tibor Vass <[email protected]> Signed-off-by: Tibor Vass <[email protected]>
Drop the standalone version module and its toolchain dependencies. Use the embedded internal/version package for runtime identity, keep release version values as publish metadata, and pass repository VCS state through the Go toolchain so sandbox-built binaries and test binaries can report commit and dirty state. Signed-off-by: Solomon Hykes <[email protected]> Co-authored-by: Tibor Vass <[email protected]> Signed-off-by: Tibor Vass <[email protected]>
Regenerate Dagger bindings and CLI reference output after replacing the standalone version module with internal/version and adding repository metadata to the Go toolchain API. Signed-off-by: Tibor Vass <[email protected]> Co-authored-by: Solomon Hykes <[email protected]> Signed-off-by: Solomon Hykes <[email protected]>
103bb31 to
5b58e5e
Compare
There was an error while loading. Please reload this page.
PR #13313 merged the version-strings work with internal/version/VERSION carrying a leading "v" (v1.0.0-dev), whereas this branch's release tooling assumed a bare semver. targetVersion() validated with semver.IsValid("v"+version), so a v-prefixed file produced "vv1.0.0-dev" and the release pipeline failed to read its own version. Strip an optional leading "v" on read. The version flows through the pipeline bare and each sink (Helm, package-registry URLs) re-adds the prefix where needed, so the file may now be bare or v-prefixed. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
PR #13313 merged the version-strings work with internal/version/VERSION carrying a leading "v" (v1.0.0-dev), whereas this branch's release tooling assumed a bare semver. targetVersion() validated with semver.IsValid("v"+version), so a v-prefixed file produced "vv1.0.0-dev" and the release pipeline failed to read its own version. Strip an optional leading "v" on read. The version flows through the pipeline bare and each sink (Helm, package-registry URLs) re-adds the prefix where needed, so the file may now be bare or v-prefixed. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Signed-off-by: Solomon Hykes <[email protected]>
PR #13313 merged the version-strings work with internal/version/VERSION carrying a leading "v" (v1.0.0-dev), whereas this branch's release tooling assumed a bare semver. targetVersion() validated with semver.IsValid("v"+version), so a v-prefixed file produced "vv1.0.0-dev" and the release pipeline failed to read its own version. Strip an optional leading "v" on read. The version flows through the pipeline bare and each sink (Helm, package-registry URLs) re-adds the prefix where needed, so the file may now be bare or v-prefixed. Signed-off-by: Solomon Hykes <[email protected]>
PR #13313 landed internal/version/VERSION with a leading "v" (v1.0.0-dev), but this branch's release tooling assumed a bare semver. targetVersion() validated with semver.IsValid("v"+version), so a v-prefixed file produced "vv1.0.0-dev" and the release pipeline failed to read its own version. Strip an optional leading "v" on read. The version flows through the pipeline bare and each sink (Helm, package-registry URLs) re-adds the prefix where needed, so the file may now be bare or v-prefixed. Signed-off-by: Solomon Hykes <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.