From 790df8955b343c2c11643d1be3d072c00fc7b038 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Floure?= Date: Mon, 21 Oct 2019 09:38:45 +0200 Subject: [PATCH] Build RPM in common CI pipeline --- .build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.build.yml b/.build.yml index 2b7c3db..c42c530 100644 --- a/.build.yml +++ b/.build.yml @@ -9,10 +9,6 @@ tasks: - lint: | cd pisk perlcritic --verbose 8 --harsh pisk - # Stop build unless running against a tag - if ! git describe --exact-match --tags HEAD; then - complete-build - fi - build-rpm: | sudo dnf install -y rpmdevtools fedpkg cd pisk/dist/rpm @@ -23,6 +19,10 @@ tasks: sudo dnf install -y rpmlint cd pisk/dist/rpm rpmlint *.src.rpm *.rpm noarch/*.rpm + # Stop build unless running against a tag + if ! git describe --exact-match --tags HEAD; then + complete-build + fi - copr-rebuild: | sudo dnf install -y curl curl -X POST $(cat ~/.copr-webhook)/pisk/ -- 2.45.2