Skip to content

Commit

Permalink
Merge pull request #40 from nextgenthemes/patch-2
Browse files Browse the repository at this point in the history
Fix screenshots getting force downloaded
  • Loading branch information
helen authored May 27, 2020
2 parents 8624d15 + a394cfe commit 0e76d7f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,11 @@ svn status | grep '^\!' | sed 's/! *//' | xargs -I% svn rm %@ > /dev/null
echo "➤ Copying tag..."
svn cp "trunk" "tags/$VERSION"

# Fix screenshots getting force downloaded when clicking them
# https://developer.wordpress.org/plugins/wordpress-org/plugin-assets/
svn propset svn:mime-type image/png assets/*.png || true
svn propset svn:mime-type image/jpeg assets/*.jpg || true

svn status

echo "➤ Committing files..."
Expand Down

0 comments on commit 0e76d7f

Please sign in to comment.