Skip to content

Commit

Permalink
Fix missing mime type on Travis builds
Browse files Browse the repository at this point in the history
  • Loading branch information
divadsn committed Mar 24, 2018
1 parent 4b8a3e4 commit 5ec84bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/s3-upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ HOST=$3
FILE=$1
BUCKET=$2
RESOURCE="/${BUCKET}/${FILE}"
CONTENT_TYPE=$(mimetype -b $FILE)
CONTENT_TYPE=$(file --mime-type -b $FILE)
TIMESTAMP=$(date -R)
STRING_TO_SIGN="PUT\n\n${CONTENT_TYPE}\n${TIMESTAMP}\n${RESOURCE}"

Expand Down

0 comments on commit 5ec84bd

Please sign in to comment.