Move pipeline version vars (#2017)

* initial

* Global vars
This commit is contained in:
Charles Gagnon
2023-04-19 14:54:18 -07:00
committed by GitHub
parent 7796b56d4b
commit 98ad0197e4
2 changed files with 9 additions and 7 deletions

View File

@@ -1,19 +1,21 @@
trigger: none
pr: none
variables:
# Major version number for the release
- name: Major
value: '4'
# Minor version number for the release (should be incremented post a stable release)
- name: Minor
value: '7'
stages:
- stage: Build
variables:
- name: buildConfiguration
value: 'Release'
# Major version number for the release
- name: Major
value: '4'
- name: ManagedBatchParserMajor
value: '3'
# Minor version number for the release (should be incremented post a stable release)
- name: Minor
value: '7'
- name: ManagedBatchParserMinor
value: '0'
# Set to true to build a stable release.

View File

@@ -35,7 +35,7 @@ steps:
displayName: 'Run Automated Release Script'
inputs:
filePath: '$(System.DefaultWorkingDirectory)/CrossPlatBuildScripts/AutomatedReleases/sqltoolsserviceRelease.ps1'
arguments: '-workspace $(Build.SourcesDirectory) -minTag 4.7.0.0 -target $(Build.SourceBranch) -isPrerelease $false -artifactsBuildId $(Build.BuildId)'
arguments: '-workspace $(Build.SourcesDirectory) -minTag $(Major).$(Minor).0.0 -target $(Build.SourceBranch) -isPrerelease $false -artifactsBuildId $(Build.BuildId)'
workingDirectory: '$(Build.SourcesDirectory)'
env:
GITHUB_DISTRO_MIXIN_PASSWORD: $(github-distro-mixin-password)