File tree 1 file changed +10
-4
lines changed 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -165,6 +165,12 @@ export PYTHONWARNINGS="ignore::UserWarning"
165
165
log " BUILD: START"
166
166
print
167
167
(
168
+ if [[ -o e ]] {
169
+ print e on
170
+ } else {
171
+ print e off
172
+ }
173
+ exit 1
168
174
log " using python: " $( which python )
169
175
log " using conda: " $( which conda )
170
176
print
@@ -189,17 +195,17 @@ print
189
195
190
196
# Find the "upload" text for the PKG in the LOG,
191
197
# this will give us the PKG file name
198
+ PKG=" "
192
199
if UPLOAD=( $( grep -A 1 " anaconda upload" $LOG ) )
193
200
then
194
201
log " UPLOAD: ${UPLOAD:- EMPTY} "
195
202
PKG=${UPLOAD[-1]}
196
203
log " found PKG=${PKG:- NOT_FOUND} "
197
- else
198
- log " ERROR: did not find PKG!"
199
- log " LOG CONTENTS:"
200
- cat $LOG
201
204
fi
202
205
206
+ if [[ $PKG == " " ]] \
207
+ abort " could not find 'anaconda upload' in the log!"
208
+
203
209
# Print metadata about the PKG
204
210
(
205
211
print
You can’t perform that action at this time.
0 commit comments