8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53a2eda commit e6ee40cCopy full SHA for e6ee40c
tools/releaseBuild/azureDevOps/vpackRelease.yml
@@ -45,6 +45,12 @@ stages:
45
ReleaseTagVar: $(ReleaseTagVar)
46
CreateJson: yes
47
UseJson: no
48
+
49
+ - powershell: |
50
+ if($env:RELEASETAGVAR -match '-') {
51
+ throw "Don't release a preview build without coordinating with Windows Engineering Build Tools Team"
52
+ }
53
+ displayName: Stop any preview release
54
55
- powershell: Write-Host "##vso[build.updatebuildnumber]$env:BUILD_SOURCEBRANCHNAME-$env:BUILD_SOURCEVERSION-$((get-date).ToString("yyyyMMddhhss"))"
56
displayName: Set Build Name for Non-PR
0 commit comments