mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-23 23:06:39 +01:00
Fix package.bat version parsing
The package.bat script parses the first 3 tokens of the version string to determine the file version. This is done to strip "-SNAPSHOT" from the version string since the file version can only contain a numeric version number.
This commit is contained in:
parent
906a2526e0
commit
3f91f60cd3
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue