Skip to content

Commit

Permalink
413920: version fix (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
rajeshkaremane authored Jul 16, 2024
1 parent 64885d9 commit 112dc9d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .azuredevops/tag-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ resources:
name: DEFRA/adp-pipeline-common
endpoint: DEFRA
type: github
ref: main
ref: refs/tags/1.0.0-latest

extends:
template: pipelines/common-tag-and-release.yaml@DEFRA-ADPPipelineCommon
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.12
1.0.14
2 changes: 1 addition & 1 deletion templates/powershell/build/Extract-CodeVersion.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ try {
$appVersion = "$appVersion-alpha.$buildId"
Write-Output "${functionName}: Build Version Tagged with alpha and build id :-> '$appVersion'."
}
if ((-not $isSymenticVersion) -and $appVersion -gt $oldAppVersion) {
elseif ((-not $isSymenticVersion) -and $appVersion -gt $oldAppVersion) {
Write-Output "${functionName}:Version increment valid '$oldAppVersion' -> '$appVersion'."
#uppend alpha and build id to version for feature branches which will be deployed to snd env e.g 4.32.33-alpha.506789
$appVersion = "$appVersion-alpha.$buildId"
Expand Down

0 comments on commit 112dc9d

Please sign in to comment.