Skip to content

Commit

Permalink
updates to snap
Browse files Browse the repository at this point in the history
  • Loading branch information
stewart committed Jun 24, 2016
1 parent 5b234ea commit 62e1e28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/snap
Expand Up @@ -62,13 +62,13 @@ take_screenshot() {
if [[ $platform == "osx" ]]; then
screencapture -x -i $TMP
elif [[ $platform == "linux" ]]; then
escrotum -s $TMP
escrotum -s $TMP &>/dev/null
fi
}

compress_and_upload() {
echo "• compressing"
optipng $TMP 2>/dev/null
optipng $TMP &>/dev/null

echo "• uploading"
aws --profile snap --region "$AWS_REGION" s3 cp $TMP "$FILE_DEST" >/dev/null
Expand Down

0 comments on commit 62e1e28

Please sign in to comment.