diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-11-11 21:59:18 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-11-12 12:44:39 +0900 |
| commit | ac4cec1625da50d6abd9fca40446e7f75aa5bd37 (patch) | |
| tree | 22b3789634008a43277952abea766be4f278e4f7 /internal/rosa/state.go | |
| parent | e28bac0fe480c065e653b847d1b54f3e3d712156 (diff) | |
internal/rosa: set common cross-compile environment
This change avoids duplicating this piece of code all over the place.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/state.go')
| -rw-r--r-- | internal/rosa/state.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/rosa/state.go b/internal/rosa/state.go index f8cffce7..9d13cab2 100644 --- a/internal/rosa/state.go +++ b/internal/rosa/state.go @@ -134,7 +134,7 @@ func (UnpopulatedIDError) Error() string { return "Anitya ID is not populated" } type Versions struct { // The latest version for the project, as determined by the version sorting algorithm. Latest string `json:"latest_version"` - // List of all versions that aren’t flagged as pre-release. + // List of all versions that aren't flagged as pre-release. Stable []string `json:"stable_versions"` // List of all versions stored, sorted from newest to oldest. All []string `json:"versions"` @@ -1157,6 +1157,7 @@ func (ctx *evalContext) pf( k("cross"): &cross, k("native"): &native, k("tools"): &tools, + k("ccommon"): &attr.CrossCommon, k("runtime"): &runtimes, k("join"): &join, k("unlikely"): &meta.Unlikely, |
