Skip to content

Commit

Permalink
fix: PRODUCT_VERSION not correct in commit-ci or nightly build, after…
Browse files Browse the repository at this point in the history
… bumping version without new tag
  • Loading branch information
fxliang committed Sep 27, 2024
1 parent 9bc5851 commit dc23259
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if not defined RELEASE_BUILD (
rem check if git is installed and available, then get the short commit id of head
git --version >nul 2>&1
if not errorlevel 1 (
for /f "delims=" %%i in ('git tag --sort=-creatordate ^| findstr /r "^0."') do (
for /f "delims=" %%i in ('git tag --sort=-creatordate ^| findstr /r "%WEASEL_VERSION%"') do (
set LAST_TAG=%%i
goto found_tag
)
Expand Down
2 changes: 1 addition & 1 deletion xbuild.bat
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ if not defined RELEASE_BUILD (
rem check if git is installed and available, then get the short commit id of head
git --version >nul 2>&1
if not errorlevel 1 (
for /f "delims=" %%i in ('git tag --sort=-creatordate ^| findstr /r "^0."') do (
for /f "delims=" %%i in ('git tag --sort=-creatordate ^| findstr /r "%WEASEL_VERSION%"') do (
set LAST_TAG=%%i
goto found_tag
)
Expand Down

0 comments on commit dc23259

Please sign in to comment.