Skip to content

Commit b16cda2

Browse files
praiskupkdudka
authored andcommitted
travis: don't require GitHub webhook payload
This is not needed when the build is triggered manually in Copr.
1 parent e2b3872 commit b16cda2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis/copr-custom-script

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ git clone \
2727
# checkout requested revision
2828
cd "$workdir"
2929

30-
copr-travis-checkout "$hook_payload"
30+
test -f "$hook_payload" && copr-travis-checkout "$hook_payload"
3131

3232
./make-srpm.sh |& tee srpm-build.log
3333
srpm=$(grep Wrote: srpm-build.log | cut -d' ' -f2)

0 commit comments

Comments
 (0)