Skip to content

Commit

Permalink
Merge pull request #3631 from devinbileck/fix-package.bat
Browse files Browse the repository at this point in the history
Fix package.bat version parsing
  • Loading branch information
ripcurlx authored Nov 19, 2019
2 parents 906a252 + 3f91f60 commit ad0cfd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desktop/package/windows/package.bat
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if not exist "%JAVA_HOME%\bin\javapackager.exe" (
set JAVA_HOME=%ProgramFiles%\Java\jdk-10.0.2
)
set package_dir=%~dp0..
for /F "tokens=1.2.3-SNAPSHOT delims=.-" %%a in ("%version%") do (
for /F "tokens=1,2,3 delims=.-" %%a in ("%version%") do (
set file_version=%%a.%%b.%%c
)

Expand Down

0 comments on commit ad0cfd2

Please sign in to comment.