diff --git a/Directory.Build.props b/Directory.Build.props
index 0c828c26..6648bbad 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -12,8 +12,15 @@
$(MSBuildThisFileDirectory)
+
+ 0
+ 99
99
99
+ 99
99.99
false
@@ -23,7 +30,7 @@
- $(Major).$(Minor).$(Build_BuildNumber)
+ $(Major).$(Minor).$(Patch).$(Revision)
$(Major).$(Minor).0
preview
$(VersionPrefix)-$(VersionSuffix)
diff --git a/azure-pipelines/build-and-release.yml b/azure-pipelines/build-and-release.yml
index 1d5dfefa..a5023ddb 100644
--- a/azure-pipelines/build-and-release.yml
+++ b/azure-pipelines/build-and-release.yml
@@ -8,6 +8,9 @@ variables:
# Minor version number for the release (should be incremented post a stable release)
- name: Minor
value: '7'
+ # Patch version number for the release (should be incremented in release branch once one is created)
+- name: Patch
+ value: '0'
stages:
- stage: Build
diff --git a/azure-pipelines/release.yml b/azure-pipelines/release.yml
index b6923e06..ba3fca9f 100644
--- a/azure-pipelines/release.yml
+++ b/azure-pipelines/release.yml
@@ -35,7 +35,7 @@ steps:
displayName: 'Run Automated Release Script'
inputs:
filePath: '$(System.DefaultWorkingDirectory)/CrossPlatBuildScripts/AutomatedReleases/sqltoolsserviceRelease.ps1'
- arguments: '-workspace $(Build.SourcesDirectory) -minTag $(Major).$(Minor).0.0 -target $(Build.SourceBranch) -isPrerelease $false -artifactsBuildId $(Build.BuildId)'
+ arguments: '-workspace $(Build.SourcesDirectory) -minTag $(Major).$(Minor).$(Patch).0 -target $(Build.SourceBranch) -isPrerelease $false -artifactsBuildId $(Build.BuildId)'
workingDirectory: '$(Build.SourcesDirectory)'
env:
GITHUB_DISTRO_MIXIN_PASSWORD: $(github-distro-mixin-password)