From d90674227e7bd0a61a72f4baef7e5cb5f5c26dfb Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 28 Sep 2020 13:22:17 -0400 Subject: [PATCH] BUILD_NUMBER for safari extension --- .github/scripts/macos/increment-version.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/scripts/macos/increment-version.ps1 b/.github/scripts/macos/increment-version.ps1 index 40e2a236ad..bba3d5ce3f 100644 --- a/.github/scripts/macos/increment-version.ps1 +++ b/.github/scripts/macos/increment-version.ps1 @@ -2,6 +2,7 @@ $packagePath = "$rootPath\package.json"; $buildNumber = 100 + [int]$env:GITHUB_RUN_NUMBER; Write-Output "Setting build number to $buildNumber"; +Write-Output "::set-env name=BUILD_NUMBER::$buildNumber"; $package = Get-Content -Raw -Path $packagePath | ConvertFrom-Json; $package.build | Add-Member -MemberType NoteProperty -Name buildVersion -Value "$buildNumber"; $package | ConvertTo-Json -Depth 32 | Set-Content $packagePath;