CI: Support large build IDs in artifact builds (#107533)

* CI: Support large build IDs in artifact builds

* Use run_id instead of run_number in prerelease builds
This commit is contained in:
Kevin Minehart
2025-07-02 18:43:59 +00:00
committed by GitHub
parent 11ea1dfba8
commit d57155a19b
3 changed files with 7 additions and 4 deletions
+3
View File
@@ -50,6 +50,9 @@ func WxsVersion(ersion string) string {
v = "0"
}
if len(v) > 5 {
v = v[len(v)-5:]
}
return fmt.Sprintf("%s.%s.%s.%s", major, minor, patch, v)
}
return fmt.Sprintf("%s.%s.%s.0", major, minor, patch)