CI: Use 7-symbol short hashes for consistency (#665)

This commit is contained in:
Anna Prosvetova 2021-08-21 01:55:20 +03:00 committed by GitHub
parent e6d5f4038b
commit 6966ca8f8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,7 +59,7 @@ jobs:
if [[ "${{ github.ref }}" == "refs/tags/"* ]]; then
SUFFIX=${REF}
else
SUFFIX=${REF}-$(date +'%d%m%Y')-$(echo ${GITHUB_SHA} | cut -c1-8)
SUFFIX=${REF}-$(date +'%d%m%Y')-$(echo ${GITHUB_SHA} | cut -c1-7)
fi
echo "SUFFIX=${SUFFIX}" >> $GITHUB_ENV