1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-27 12:36:14 +01:00

moving the git version data gathering of AST

This commit is contained in:
Joseph Flinn 2021-01-04 23:04:55 +00:00
parent 5f53f0a988
commit fa49fb0585

View File

@ -31,6 +31,7 @@ steps:
- pwsh: | - pwsh: |
git clone https://github.com/vcsjones/AzureSignTool.git git clone https://github.com/vcsjones/AzureSignTool.git
cd AzureSignTool
$latest_head = $(git rev-parse HEAD)[0..9] -join "" $latest_head = $(git rev-parse HEAD)[0..9] -join ""
$latest_version = "0.0.0-g$latest_head" $latest_version = "0.0.0-g$latest_head"
Write-Host "--------" Write-Host "--------"
@ -38,7 +39,7 @@ steps:
Write-Host "latest_head - $latest_head" Write-Host "latest_head - $latest_head"
Write-Host "PACKAGE VERSION TO BUILD - $latest_version" Write-Host "PACKAGE VERSION TO BUILD - $latest_version"
Write-Host "--------" Write-Host "--------"
cd AzureSignTool
dotnet --version dotnet --version
dotnet restore dotnet restore
dotnet pack --output ./nupkg dotnet pack --output ./nupkg