mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
ci: Prepend an ordinal number to commits in artifacts.
This commit is contained in:
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,7 +3,7 @@
|
|||||||
echo "Building $(git log -1)"
|
echo "Building $(git log -1)"
|
||||||
echo "---"
|
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
|
set -Eeuxo pipefail
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
echo "Building $(git log -1)"
|
echo "Building $(git log -1)"
|
||||||
echo "---"
|
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
|
set -Eeuxo pipefail
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
echo "Building $(git log -1)"
|
echo "Building $(git log -1)"
|
||||||
echo "---"
|
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
|
set -Eeuxo pipefail
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user