Skip to content

Commit

Permalink
fix: Updates version number reference
Browse files Browse the repository at this point in the history
  • Loading branch information
guillermogutierrez committed Dec 17, 2021
1 parent 685e5e9 commit e8c2f60
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions build/azDevOps/azure/azure-pipelines-javaspring-k8s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ variables:
value: 0
- name: version_patch
value: 0
- name: version_number
value: $(version_major).$(version_minor).$(version_patch)

# PR / Branch vars
- name: source_branch_ref
Expand Down Expand Up @@ -813,8 +815,8 @@ stages:
script: |
git config user.name "BuildService"
git config user.email "builder@${COMPANY}.com"
git tag -a v${BUILD_BUILDNUMBER} -m "Release created by Azure DevOps"
git push origin v${BUILD_BUILDNUMBER}
git tag -a v${VERSION_NUMBER} -m "Release created by Azure DevOps"
git push origin v${VERSION_NUMBER}
env:
COMPANY: $(company)

Expand All @@ -824,4 +826,4 @@ stages:
inputs:
gitHubConnection: $(github_release_service_connection)
repositoryName: $(github_org)/$(self_repo)
tag: $(Build.BuildNumber)
tag: $(version_number)

0 comments on commit e8c2f60

Please sign in to comment.