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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user