@@ -69,13 +69,13 @@ steps:
6969 workingDirectory: "$(SERVICE_DIR)"
7070 displayName: "Check for ECS proxy definitions"
7171
72- - task : s3-cache-action@1
73- inputs :
74- key : poetry | utils | $(UTILS_DIR)/poetry.lock
75- location : " $(UTILS_DIR)/.venv"
76- debug : true
77- alias : ' UtilsPreReq'
78- displayName : cache utils pre-requisites
72+ # - task: s3-cache-action@1
73+ # inputs:
74+ # key: poetry | utils | $(UTILS_DIR)/poetry.lock
75+ # location: "$(UTILS_DIR)/.venv"
76+ # debug: true
77+ # alias: 'UtilsPreReq'
78+ # displayName: cache utils pre-requisites
7979
8080 - bash : |
8181 n=0
8585 n=$((n+1))
8686 done
8787 workingDirectory: "$(UTILS_DIR)"
88- condition: ne(variables['CacheRestored-UtilsPreReq'], 'true')
88+ # condition: ne(variables['CacheRestored-UtilsPreReq'], 'true')
8989 displayName: "Install utils pre-requisites"
9090
9191 - bash : |
@@ -132,7 +132,7 @@ steps:
132132 export RELEASE_RELEASEID=$(Build.BuildId)
133133
134134 if [[ $SERVICE_ARTIFACT_NAME == v* ]]; then
135- export DEPLOYED_VERSION=`echo $SERVICE_ARTIFACT_NAME | grep -o "v[0-9]\ +\.[0-9]\ +\.[0-9]\+-[[:alpha:]]\+ " | tail -1`
135+ export DEPLOYED_VERSION=`echo $SERVICE_ARTIFACT_NAME | grep -E - o "v[0-9]+\.[0-9]+\.[0-9]+-?[a-z]* " | tail -1`
136136 else
137137 export DEPLOYED_VERSION="${{ parameters.fully_qualified_service_name }}"
138138 fi
@@ -203,7 +203,7 @@ steps:
203203 source $(SERVICE_DIR)/.build_env_vars
204204
205205 if [[ $SERVICE_ARTIFACT_NAME == v* ]]; then
206- export DEPLOYED_VERSION=`echo $SERVICE_ARTIFACT_NAME | grep -o "v[0-9]\ +\.[0-9]\ +\.[0-9]\+-[[:alpha:]]\+ " | tail -1`
206+ export DEPLOYED_VERSION=`echo $SERVICE_ARTIFACT_NAME | grep -E - o "v[0-9]+\.[0-9]+\.[0-9]+-?[a-z]* " | tail -1`
207207 else
208208 export DEPLOYED_VERSION="${{ parameters.fully_qualified_service_name }}"
209209 fi
0 commit comments