aboutsummaryrefslogtreecommitdiff
path: root/.copr/prepare.sh
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2018-08-27 15:06:22 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2018-08-28 11:53:09 +0000
commit9e315518aa52c8cb80b2fae3bd48f6e52e6d0fc0 (patch)
treeede6b041a990cdc409e5dbf27a0ee2baefdd1660 /.copr/prepare.sh
parentc33b359ed196102c44ec0b58491d88a7dedd6294 (diff)
downloadpodman-9e315518aa52c8cb80b2fae3bd48f6e52e6d0fc0.tar.gz
podman-9e315518aa52c8cb80b2fae3bd48f6e52e6d0fc0.tar.bz2
podman-9e315518aa52c8cb80b2fae3bd48f6e52e6d0fc0.zip
Test RPM build and install for regressions
On Fedora and now Centos (added), we build RPMs based on the spec in contrib/spec to make sure we protect against regressions when creating RPMs. Once the RPM is built, we then test actually installing the RPM to ensure that no deps are missing for install. Signed-off-by: baude <bbaude@redhat.com> Closes: #1356 Approved by: rhatdan
Diffstat (limited to '.copr/prepare.sh')
-rw-r--r--.copr/prepare.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.copr/prepare.sh b/.copr/prepare.sh
index 2ba34a7b8..4d690de9c 100644
--- a/.copr/prepare.sh
+++ b/.copr/prepare.sh
@@ -8,7 +8,7 @@ fi
git fetch --unshallow || :
COMMIT=$(git rev-parse HEAD)
-COMMIT_SHORT=$(git rev-parse --short HEAD)
+COMMIT_SHORT=$(git rev-parse --short=8 HEAD)
COMMIT_NUM=$(git rev-list HEAD --count)
COMMIT_DATE=$(date +%s)