File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ yamlData.buildVersion = distYamlData?.buildVersion || yamlData?.buildVersion ||
1414let newBuildVersion = yamlData . buildVersion + 1
1515
1616if ( process . env . GITHUB_RUN_NUMBER ) {
17- newBuildVersion = parseInt ( process . env . GITHUB_RUN_NUMBER )
17+ newBuildVersion = parseInt ( process . env . GITHUB_RUN_NUMBER ) + 21 // 21 being the offset of builds due to the previous build system
1818
1919 console . log ( ' • Setting build version to' , newBuildVersion )
2020} else {
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ yamlData.buildNumber = distYamlData?.buildNumber || yamlData?.buildNumber || 0
1414let newBuildNumber = yamlData . buildVersion + 1
1515
1616if ( process . env . GITHUB_RUN_NUMBER ) {
17- newBuildNumber = parseInt ( process . env . GITHUB_RUN_NUMBER )
17+ newBuildNumber = parseInt ( process . env . GITHUB_RUN_NUMBER ) + 21 // 21 being the offset of builds due to the previous build system
1818
1919 console . log ( ' • Setting build number to' , newBuildNumber )
2020} else {
You can’t perform that action at this time.
0 commit comments