Fix release tagging (#636)

* add ReleaseTag
* pkgId -> pkgName
* pkgId -> pkgName
* beta.2
This commit is contained in:
Daniel Jurek 2020-09-09 22:27:49 -07:00 committed by GitHub
parent 9fa18c4174
commit 01cb68f763
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 2 deletions

View File

@ -336,7 +336,7 @@ function ParseCppArtifact($pkg, $workingDirectory) {
return New-Object PSObject -Property @{
PackageId = $pkgName
PackageVersion = $pkgVersion
ReleaseTag = "$($pkgId)_$($pkgVersion)"
ReleaseTag = "$($pkgName)_$($pkgVersion)"
# Artifact info is always considered deployable for now becasue it is not
# deployed anywhere. Dealing with duplicate tags happens downstream in
# CheckArtifactShaAgainstTagsList

View File

@ -30,6 +30,7 @@ function Get-cpp-PackageInfoFromPackageFile($pkg, $workingDirectory)
return New-Object PSObject -Property @{
PackageId = $pkgName
PackageVersion = $pkgVersion
ReleaseTag = "$($pkgName)_$($pkgVersion)"
# Artifact info is always considered deployable for now becasue it is not
# deployed anywhere. Dealing with duplicate tags happens downstream in
# CheckArtifactShaAgainstTagsList

View File

@ -1,5 +1,9 @@
# Release History
## 1.0.0-beta.2 (2020-09-09)
* Validate engineering system changes
## 1.0.0-beta.1 (2020-09-01)
* Template package validating release pipeline

View File

@ -8,7 +8,7 @@
#define AZURE_TEMPLATE_VERSION_MAJOR 1
#define AZURE_TEMPLATE_VERSION_MINOR 0
#define AZURE_TEMPLATE_VERSION_PATCH 0
#define AZURE_TEMPLATE_VERSION_PRERELEASE "beta.1"
#define AZURE_TEMPLATE_VERSION_PRERELEASE "beta.2"
namespace Azure { namespace Template {