File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ release:
101101 ENV=prod ./scripts/check_release.sh; status=$$? ; \
102102 if [ $$ status -eq 2 ]; then exit 0; fi ; \
103103 if [ $$ status -ne 0 ]; then exit $$ status; fi ; \
104- $(MAKE ) package-all; \
104+ $(MAKE ) package-all && \
105105 ENV=prod ./scripts/release.sh
106106
107107aws-check :
Original file line number Diff line number Diff line change 101101
102102for arch in arm64 amd64; do
103103 artifact=" dist/lambda-shell-runtime-$arch -$version .zip"
104+ fallback=" dist/lambda-shell-runtime-$arch .zip"
105+ if [ ! -f " $artifact " ] && [ -f " $fallback " ]; then
106+ cp " $fallback " " $artifact "
107+ fi
104108 if [ ! -f " $artifact " ]; then
105109 printf ' %s\n' " Expected artifact not found: $artifact " >&2
110+ if [ -f " $fallback " ]; then
111+ printf ' %s\n' " Found unversioned artifact at $fallback but failed to create versioned copy." >&2
112+ fi
106113 printf ' %s\n' " Run make package-all first." >&2
107114 exit 1
108115 fi
You can’t perform that action at this time.
0 commit comments