diff options
-rwxr-xr-x | dist/release-vespa-rpm.sh | 6 |
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 |