File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 144
144
- |
145
145
if [[ -z "$(ls -A ${ORT_CONFIG_PATH})" ]]; then
146
146
ORT_CONFIG_VCS_REVISION=${ORT_CONFIG_VCS_REVISION:-$(git remote show origin | sed -n '/HEAD branch/s/.*: //p')}
147
- echo -e "\e[1;33m Retrieving ORT config from ${ORT_CONFIG_VCS_URL}... "
147
+ echo -e "\e[1;33m Retrieving ORT config commit '${ORT_CONFIG_VCS_REVISION}' from ${ORT_CONFIG_VCS_URL}... "
148
148
cd $ORT_CONFIG_PATH
149
149
git init -q
150
150
git remote add origin $ORT_CONFIG_VCS_URL
158
158
&& export ORT_CONFIG_VCS_URL=$(git config remote.origin.url) \
159
159
&& export ORT_CONFIG_VCS_REVISION=$(git rev-parse HEAD)
160
160
cd -
161
+
162
+ echo -e "Using ORT config revision ${ORT_CONFIG_VCS_REVISION}."
161
163
162
164
# Generate ORT global configuration if not found and PostgreSQL is used.
163
165
- |
454
456
mv ${GOPATH}/pkg/mod/* ${GO_CACHE_LOCAL}
455
457
fi
456
458
457
- - export ORT_SCAN_FINISHED_AT=$(date +"%Y-%m-%dT%H:%M:%S%z")
459
+ - export ORT_SCAN_FINISHED_AT=$(date +"%Y-%m-%dT%H:%M:%S%z")
You can’t perform that action at this time.
0 commit comments