1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-30 08:10:34 +01:00
bitwarden-browser/.github/scripts/macos/increment-version.ps1
2020-09-23 12:44:57 -04:00

6 lines
274 B
PowerShell

$rootPath = $env:GITHUB_WORKSPACE;
$buildNumber = 100 + [int]$env:GITHUB_RUN_NUMBER;
# See https://www.electron.build/configuration/configuration#configuration
Write-Output "Setting build number to $buildNumber";
Write-Output "::set-env name=BUILD_NUMBER::$buildNumber";