Skip to content

Commit

Permalink
Update CLI script to check FILE_PATH existence
Browse files Browse the repository at this point in the history
  • Loading branch information
erawhctim committed Nov 10, 2021
1 parent eeedf51 commit f4036e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
#!/bin/sh -l
echo "File path: $FILE_PATH"
[ ! -f $FILE_PATH ] && { echo "File doesn't exist."; exit 1; }

appcenter distribute release --app "$OWNER_NAME/$APP_NAME" --file "$FILE_PATH" --group "$GROUP_NAME" --silent --debug --token $API_TOKEN

0 comments on commit f4036e1

Please sign in to comment.