diff options
author | Arnstein Ressem <aressem@yahoo-inc.com> | 2017-10-19 13:16:20 +0200 |
---|---|---|
committer | Arnstein Ressem <aressem@yahoo-inc.com> | 2017-10-19 13:16:20 +0200 |
commit | 420a22ea3fe2da33a36fc4bf94df0b9f66d153b3 (patch) | |
tree | f928c03c09b079ea9c23ead7094799df3be6a523 | |
parent | 1aee9a416a24538c7e2900d5f556fc6e814441bd (diff) |
Copr returns 500 if GitHub event type is not set.
-rwxr-xr-x | dist/release-vespa-rpm.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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/ |