From f5ddd808a9bdc86b1fe68b6d363012b3b6e4c7a4 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Sun, 22 Oct 2023 18:48:10 +0100 Subject: [PATCH] Make macos dmg nightlies more orderable Without any tags in the downloaded history, git doesn't know how many commits happened since latest tag --- .github/workflows/build_macos.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_macos.yml b/.github/workflows/build_macos.yml index c18c988a2..5593ae0ce 100644 --- a/.github/workflows/build_macos.yml +++ b/.github/workflows/build_macos.yml @@ -57,7 +57,7 @@ jobs: cd '${{github.workspace}}' kvi_version=$(grep -i "^set(VERSION_RELEASE .*)$" CMakeLists.txt | egrep -o '[0-9\.]' | tr -d '\n') git_desc=$(git describe --always) - echo "dmg_name=KVIrc-$kvi_version-dev-$git_desc" >> "$GITHUB_ENV" + echo "dmg_name=KVIrc-$kvi_version-dev-$(date +%F)-git-$git_desc" >> "$GITHUB_ENV" - name: Create DMG shell: bash