File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,14 @@ class Write
55 public static function main ()
66 {
77 var args = Sys .args ();
8- var buildNumber = Std .parseInt (args [0 ]);
8+ // AL NOTE: this "30 +" is a bodge around some CI stuff.
9+ // Usually the ever incrementing CI run number is provided as the argument, but this ID is per github workflow.
10+ // So when the release ci yml moved file the number reset to zero and we started overwriting previous releases.
11+ // For now just append 30 since the previous release was 25 or something.
12+ //
13+ // This will need to be revisited when anything other than the last number increases as you would end up with
14+ // something like 5.0.42 instead of 5.0.0.
15+ var buildNumber = 30 + Std .parseInt (args [0 ]);
916 if (buildNumber < 1 || buildNumber == null )
1017 throw " Usage: Write buildNumber" ;
1118
You can’t perform that action at this time.
0 commit comments