Skip to content

Commit 2d73ef8

Browse files
bennettp123vikasperiiBotPeaches
authored
Fix the check for appspec.yml detection for tar archives(#77)
Co-authored-by: Vikas Peri <vikas.peri@wanews.com.au> Co-authored-by: Connor Tumbleson <iBotPeaches@users.noreply.github.com>
1 parent be8a8d6 commit 2d73ef8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ if [ "$BUNDLE_TYPE" == 'zip' ]; then
194194
exit 1;
195195
fi
196196
else
197-
if tar -tf "$ZIP_FILENAME" | grep -qv appspec.yml; then
197+
if ! tar -tf "$ZIP_FILENAME" | grep -q appspec.yml; then
198198
echo "::error::$ZIP_FILENAME was not generated properly (missing appspec.yml)."
199199
exit 1;
200200
fi

0 commit comments

Comments
 (0)