mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-14 21:38:34 +00:00
FS-11513: [Build-System] Fix Windows versioning.
This commit is contained in:
1 parent
abec4deaa1
commit
89c2dc04a0
3 files changed
+19
-6
No files matched your search
@@ -5,5 +5,6 @@ FOR /f "delims=" %%i in ('FIND /N "AC_INIT" ..\..\configure.ac') DO SET version_
|
||||
FOR /f "tokens=2 delims=," %%a in ("%version_contained_string%") DO SET dirty_version=%%a
|
||||
SET almost_clean_version=%dirty_version:[=%
|
||||
SET version_with_spaces=%almost_clean_version:]=%
|
||||
SET full_version=%version_with_spaces: =%
|
||||
SET version_with_dash=%version_with_spaces: =%
|
||||
FOR /f "tokens=1 delims=-" %%a in ("%version_with_dash%") DO SET full_version=%%a
|
||||
echo %full_version%
|
||||
Reference in new issue
Block a user