File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -122,20 +122,10 @@ cli_version() {
122
122
fi
123
123
}
124
124
125
- cli_commit () {
126
- if [[ " $( uname -s) " == " MINGW" * ]]; then
127
- BUILD_OPTIONS=$( $( cygpath -u " $1 " ) version --build-options)
128
- else
129
- BUILD_OPTIONS=$( " $1 " version --build-options)
130
- fi
131
-
132
- echo " ${BUILD_OPTIONS} " | grep ' ^built from commit: ' | sed -e ' s/^built from commit: //'
133
- }
134
-
135
125
TEST_CLI_NAME=$( basename " ${TEST_CLI} " )
136
126
TEST_CLI_PATH=$( fullpath " ${TEST_CLI} " )
137
127
TEST_CLI_VERSION=$( cli_version " ${TEST_CLI} " )
138
- TEST_CLI_COMMIT=$( cli_commit " ${TEST_CLI} " )
128
+ TEST_CLI_COMMIT=" unknown "
139
129
140
130
if [ " ${BASELINE_CLI} " != " " ]; then
141
131
if [[ " ${BASELINE_CLI} " == " /" * ]]; then
@@ -147,7 +137,7 @@ if [ "${BASELINE_CLI}" != "" ]; then
147
137
BASELINE_CLI_NAME=$( basename " ${BASELINE_CLI} " )
148
138
BASELINE_CLI_PATH=$( fullpath " ${BASELINE_CLI} " )
149
139
BASELINE_CLI_VERSION=$( cli_version " ${BASELINE_CLI} " )
150
- BASELINE_CLI_COMMIT=$( cli_commit " ${BASELINE_CLI} " )
140
+ BASELINE_CLI_COMMIT=" unknown "
151
141
fi
152
142
153
143
#
You can’t perform that action at this time.
0 commit comments