From 7408a8b494c8ab8cbf1f28d647b4e79d17d6e505 Mon Sep 17 00:00:00 2001 From: Martin Kinkelin Date: Fri, 19 Jul 2024 21:26:47 +0200 Subject: [PATCH] CI: Rename Windows installer artifacts to dmd-.exe Don't use the DMD VERSION file, currently leading to names like `dmd-v2.110.0-beta.1.exe`, which accumulate for the nightly release: https://github.com/dlang/dmd/releases/tag/nightly Switch to `dmd-master.exe`, similar to the other artifact names. --- .github/workflows/build_release_template.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build_release_template.yml b/.github/workflows/build_release_template.yml index f01cd35e..6c4eb942 100644 --- a/.github/workflows/build_release_template.yml +++ b/.github/workflows/build_release_template.yml @@ -252,6 +252,7 @@ jobs: for /f %%v in (dmd.windows\dmd2\src\VERSION) do set ver=%%v cd windows || exit /b "c:\Program Files (x86)\NSIS\makensis" /DVersion2=%ver% /DEmbedD2Dir=..\dmd.windows\dmd2 d2-installer.nsi || exit /b + ren dmd-%ver%.exe dmd-${{ inputs.release_branch }}.exe || exit /b copy dmd-*.exe ..\create_dmd_release\build || exit /b #################################################################