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.
This commit is contained in:
Lars Karlitski 2020-11-10 20:47:01 +01:00
parent 5b827cb0d5
commit 5aee7b9fa7

View file

@ -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