summaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorArnstein Ressem <aressem@yahoo-inc.com>2017-08-11 12:39:47 +0200
committerArnstein Ressem <aressem@yahoo-inc.com>2017-08-11 12:39:47 +0200
commitdf0adfe36d6ce962b1f017dd463e330083d21a63 (patch)
tree1a368f87a03ba743ac2d8cb7dd1e6a2459f0e8b3 /dist
parentf154d097961c73874c94084e800c4d1861b9ae51 (diff)
Trig the Copr build.
Diffstat (limited to 'dist')
-rwxr-xr-xdist/release-vespa-rpm.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/dist/release-vespa-rpm.sh b/dist/release-vespa-rpm.sh
index fdcc7bb75c5..db00295bb25 100755
--- a/dist/release-vespa-rpm.sh
+++ b/dist/release-vespa-rpm.sh
@@ -34,6 +34,12 @@ tito tag --use-version=$VERSION --no-auto-changelog
# Push changes and tag to branc
git push -u origin --follow-tags $RPM_BRANCH
+# Trig the build on Copr
+curl -X POST \
+ -H "Content-type: application/json" \
+ -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/
+
git reset --hard HEAD
git checkout $CURRENT_BRANCH