From df0adfe36d6ce962b1f017dd463e330083d21a63 Mon Sep 17 00:00:00 2001 From: Arnstein Ressem Date: Fri, 11 Aug 2017 12:39:47 +0200 Subject: Trig the Copr build. --- dist/release-vespa-rpm.sh | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v1.2.3