From 420a22ea3fe2da33a36fc4bf94df0b9f66d153b3 Mon Sep 17 00:00:00 2001 From: Arnstein Ressem Date: Thu, 19 Oct 2017 13:16:20 +0200 Subject: Copr returns 500 if GitHub event type is not set. --- dist/release-vespa-rpm.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'dist') diff --git a/dist/release-vespa-rpm.sh b/dist/release-vespa-rpm.sh index ba9195dff05..0317e3aebc0 100755 --- a/dist/release-vespa-rpm.sh +++ b/dist/release-vespa-rpm.sh @@ -40,6 +40,7 @@ git push -u origin --follow-tags $RPM_BRANCH # Trig the build on Copr curl -X POST \ -H "Content-type: application/json" \ + -H "X-GitHub-Event: create" \ -d '{ "ref_type": "tag", "repository": { "clone_url": "https://github.com/vespa-engine/vespa.git" } }' \ https://copr.fedorainfracloud.org/webhooks/github/8037/d1dd5867-b493-4647-a888-0c887e6087b3/ -- cgit v1.2.3