ci: Prepend an ordinal number to commits in artifacts.

This commit is contained in:
Giovanni Mascellani 2023-09-26 23:03:31 +02:00 committed by Alexandre Julliard
parent e85e2417d5
commit 7366b5fd38
Notes: Alexandre Julliard 2023-09-27 22:59:20 +02:00
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/362
3 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
echo "Building $(git log -1)"
echo "---"
COMMIT=$(git rev-parse --short HEAD)
COMMIT=$(printf '%03d-%s' $(git cherry $CI_MERGE_REQUEST_DIFF_BASE_SHA HEAD^ | wc -l) $(git rev-parse --short HEAD))
set -Eeuxo pipefail

View File

@ -3,7 +3,7 @@
echo "Building $(git log -1)"
echo "---"
COMMIT=$(git rev-parse --short HEAD)
COMMIT=$(printf '%03d-%s' $(git cherry $CI_MERGE_REQUEST_DIFF_BASE_SHA HEAD^ | wc -l) $(git rev-parse --short HEAD))
set -Eeuxo pipefail

View File

@ -3,7 +3,7 @@
echo "Building $(git log -1)"
echo "---"
COMMIT=$(git rev-parse --short HEAD)
COMMIT=$(printf '%03d-%s' $(git cherry $CI_MERGE_REQUEST_DIFF_BASE_SHA HEAD^ | wc -l) $(git rev-parse --short HEAD))
set -Eeuxo pipefail