Skip to content

Commit

Permalink
Try and fix the release package uploading issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Aug 22, 2014
1 parent 6ce1847 commit a106f21
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Expand Up @@ -147,8 +147,9 @@ publish: guard-VERSION guard-GITHUB_USER dist/cakephp-$(DASH_VERSION).zip
@echo "Uploading zip file to github."
curl $(AUTH) -XPOST \
$(UPLOAD_HOST)/repos/$(OWNER)/cakephp/releases/`cat ./id.txt`/assets?name=cakephp-$(DASH_VERSION).zip \
-H "Accept: application/vnd.github.manifold-preview" \
-H 'Content-Type: application/zip' \
-d '@dist/cakephp-$(DASH_VERSION).zip'
--data-binary '@dist/cakephp-$(DASH_VERSION).zip'
# Cleanup files.
rm release.json
rm id.txt
Expand Down

0 comments on commit a106f21

Please sign in to comment.