Skip to content

Commit

Permalink
build: naming the installer with commit short id when not defined REL…
Browse files Browse the repository at this point in the history
…EASE_BUILD
  • Loading branch information
fxliang committed Apr 29, 2024
1 parent 12cf01b commit 3330b65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ if %build_installer% == 1 (
/DWEASEL_VERSION=%WEASEL_VERSION% ^
/DWEASEL_BUILD=%WEASEL_BUILD% ^
output\install.nsi
if defined commitid (
move output\archives\weasel-%WEASEL_VERSION%.%WEASEL_BUILD%-installer.exe output\archives\weasel-%WEASEL_VERSION%-%commitid%-installer.exe
if not defined RELEASE_BUILD (
move output\archives\weasel-%WEASEL_VERSION%.%WEASEL_BUILD%-installer.exe output\archives\weasel-%PRODUCT_VERSION%-installer.exe
)
if errorlevel 1 goto error
)
Expand Down

0 comments on commit 3330b65

Please sign in to comment.