Browse Source

Try and fix the release package uploading issues.

mark_story 11 years ago
parent
commit
a106f218e0
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Makefile

+ 2 - 1
Makefile

@@ -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