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 trigger: none
pr: 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: stages:
- stage: Build - stage: Build
variables: variables:
- name: buildConfiguration - name: buildConfiguration
value: 'Release' value: 'Release'
# Major version number for the release
- name: Major
value: '4'
- name: ManagedBatchParserMajor - name: ManagedBatchParserMajor
value: '3' value: '3'
# Minor version number for the release (should be incremented post a stable release)
- name: Minor
value: '7'
- name: ManagedBatchParserMinor - name: ManagedBatchParserMinor
value: '0' value: '0'
# Set to true to build a stable release. # Set to true to build a stable release.

View File

@@ -35,7 +35,7 @@ steps:
displayName: 'Run Automated Release Script' displayName: 'Run Automated Release Script'
inputs: inputs:
filePath: '$(System.DefaultWorkingDirectory)/CrossPlatBuildScripts/AutomatedReleases/sqltoolsserviceRelease.ps1' 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)' workingDirectory: '$(Build.SourcesDirectory)'
env: env:
GITHUB_DISTRO_MIXIN_PASSWORD: $(github-distro-mixin-password) GITHUB_DISTRO_MIXIN_PASSWORD: $(github-distro-mixin-password)