Skip to content

Commit

Permalink
ci:Set the build number to be the build id to remove issue where buil…
Browse files Browse the repository at this point in the history
…d number are the same
  • Loading branch information
carlh98 committed Apr 29, 2024
1 parent a7ad1f2 commit 71365aa
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions build/steps-build-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@ steps:

- template: templates/gitversion.yml

- task: PowerShell@2
displayName: Set the build version
inputs:
targetType: inline
script: |
$buildNumber = [int]$(Build.BuildId)
Write-Host "##vso[task.setvariable variable=BuildNumber]$buildNumber"
Write-Host "Build number: $BuildNumber"
- task: DownloadSecureFile@1
name: keyStore
displayName: "Download Keystore from Secure Files"
Expand Down

0 comments on commit 71365aa

Please sign in to comment.