MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / versionStringAttestation

Function versionStringAttestation

app/cli/cmd/attestation_status.go:316–326  ·  view source on GitHub ↗

Version information to be shown during the attestation process both during the process and at the end

(p *action.ProjectVersion, isPushed bool)

Source from the content-addressed store, hash-verified

314// Version information to be shown during the attestation process
315// both during the process and at the end
316func versionStringAttestation(p *action.ProjectVersion, isPushed bool) string {
317 if p == nil || p.Version == "" {
318 return ""
319 }
320
321 if isPushed {
322 return versionStringAttFinal(p)
323 }
324
325 return versionStringAttTransient(p)
326}
327
328// Transient state
329// It's a prerelease that will be released

Callers 2

Calls 2

versionStringAttFinalFunction · 0.85

Tested by 1