summaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorArnstein Ressem <aressem@oath.com>2018-01-08 13:17:14 +0100
committerArnstein Ressem <aressem@oath.com>2018-01-08 13:17:14 +0100
commit94e25d00523a5bb47e20593ad53c120416c9e80f (patch)
tree1cd6e4fc17149d252af9c259fc1592561be804bb /dist
parentc1c186a34500e3eacd9d813eba4138b6cdd3e428 (diff)
Add ref and change type to branch to get Copr triggered.
Diffstat (limited to 'dist')
-rwxr-xr-xdist/release-vespa-rpm.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/release-vespa-rpm.sh b/dist/release-vespa-rpm.sh
index 0317e3aebc0..c21550215f0 100755
--- a/dist/release-vespa-rpm.sh
+++ b/dist/release-vespa-rpm.sh
@@ -41,7 +41,7 @@ git push -u origin --follow-tags $RPM_BRANCH
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" } }' \
+ -d '{ "ref": "rpmbuild", "ref_type": "branch", "repository": { "clone_url": "https://github.com/vespa-engine/vespa.git" } }' \
https://copr.fedorainfracloud.org/webhooks/github/8037/d1dd5867-b493-4647-a888-0c887e6087b3/
git reset --hard HEAD