diff options
author | Jon Marius Venstad <jonmv@users.noreply.github.com> | 2017-10-20 09:33:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-20 09:33:51 +0200 |
commit | d82d7c04128c23bc6c3ec5b8e7e822315055ca29 (patch) | |
tree | d5fac20ad745092e4dddc314ba9e34674113075f | |
parent | b3b04e1f1309d1aeb16cc8d99da14df2674f7264 (diff) | |
parent | 420a22ea3fe2da33a36fc4bf94df0b9f66d153b3 (diff) |
Merge pull request #3821 from vespa-engine/aressem/copr-requires-github-event-type
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/ |