From 5aee7b9fa724575daa010a55cad0558fbb7b9ad1 Mon Sep 17 00:00:00 2001 From: Lars Karlitski Date: Tue, 10 Nov 2020 20:47:01 +0100 Subject: [PATCH] mockbuild: don't use short commit ids The length of these is not predictable. It depends on the shortest unique prefix in the repository and git configuration. Just use the full one, which also makes it easier to copy the id from `git log` or GitHub. --- schutzbot/mockbuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schutzbot/mockbuild.sh b/schutzbot/mockbuild.sh index 70bf0f6b..01e057c4 100755 --- a/schutzbot/mockbuild.sh +++ b/schutzbot/mockbuild.sh @@ -39,7 +39,7 @@ fi MOCK_CONFIG="${ID}-${VERSION_ID%.*}-$(uname -m)" # The commit this script operates on. -COMMIT=$(git rev-parse --short HEAD) +COMMIT=$(git rev-parse HEAD) # Bucket in S3 where our artifacts are uploaded REPO_BUCKET=osbuild-composer-repos