Skip to content

Commit

Permalink
tests/rpmbuild: fix exit 1 if no upstream_commit parameter
Browse files Browse the repository at this point in the history
Not all rpmbuild jobs require the upstream_commit parameter.

Signed-off-by: Lin Jiaxin <[email protected]>
  • Loading branch information
Lin Jiaxin authored and caoxueliang007 committed Jun 17, 2021
1 parent 6dce108 commit 34c0ee6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/rpmbuild
Original file line number Diff line number Diff line change
Expand Up @@ -229,3 +229,4 @@ build_rpm
upload_rpm_pkg
update_repo_mq
[ -n "$upstream_commit" ] && rpmbuild_email "rpmbuild_success"
exit 0

0 comments on commit 34c0ee6

Please sign in to comment.