Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2d73ef8

Browse filesBrowse 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
Copy full SHA for 2d73ef8

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎deploy.sh

Copy file name to clipboardExpand all lines: deploy.sh
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.