Skip to content

Commit

Permalink
Change build number to fixup versioning (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonko0493 authored Apr 18, 2023
1 parent a63f045 commit 75058d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion azure-pipelines-official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@ parameters:
type: string
default: 'Latest nightly build. **Note that this is likely to have bugs and we recommend you use a regular release instead!**'

name: $(Year:yy).$(Date:MMdd).$(Rev:r)

variables:
- name: Version
${{ if ne(parameters['version'], '') }}:
value: ${{ parameters.version }}
${{ if eq(parameters['version'], '') }}:
value: 0.2.$(Build.BuildNumber)
value: 0.$(Build.BuildNumber)

stages:
- stage: Build
Expand Down

0 comments on commit 75058d1

Please sign in to comment.