1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-25 12:06:07 +01:00
bitwarden-desktop/.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";