We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 604f774 commit 65105bbCopy full SHA for 65105bb
1 file changed
azure/templates/deploy-service.yml
@@ -132,11 +132,14 @@ steps:
132
export SOURCE_COMMIT_ID=$(Build.SourceVersion)
133
export RELEASE_RELEASEID=$(Build.BuildId)
134
135
- echo "Setting version"
+ echo "Setting assumed version"
136
ASSUMED_VERSION=$(echo $SERVICE_ARTIFACT_NAME | grep -E -o "v[0-9]+\.[0-9]+\.[0-9]+-?[a-z]*" | tail -1)
137
+ echo "Setting deployed version"
138
if [[ ! -z $ASSUMED_VERSION ]]; then
139
+ echo "Setting deployed=assumed"
140
export DEPLOYED_VERSION=$ASSUMED_VERSION
141
else
142
+ echo "Setting FQSN"
143
export DEPLOYED_VERSION="${{ parameters.fully_qualified_service_name }}"
144
fi
145
0 commit comments