-
Notifications
You must be signed in to change notification settings - Fork 125
/
set_version.bat
46 lines (37 loc) · 1.8 KB
/
set_version.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
@echo off
if "%~1"=="" (
echo.
echo SYNTAX: set_version old new
echo ==================================================================
echo.
echo Sets the version number of all hi_modules, the installer projects
echo and the projucer projects from the old version to the new version.
echo You need to use semantic versioning major.minor.patch
echo ==================================================================
goto :end
)
echo Bumping version "%1" to "%2"
set old_version="%1"
set new_version="%2"
fart "hi_backend\hi_backend.h" %old_version% %new_version%
fart "hi_core\hi_core.h" %old_version% %new_version%
fart "hi_dsp_library\hi_dsp_library.h" %old_version% %new_version%
fart "hi_faust\hi_faust.h" %old_version% %new_version%
fart "hi_faust_jit\hi_faust_jit.h" %old_version% %new_version%
fart "hi_faust_types\hi_faust_types.h" %old_version% %new_version%
fart "hi_frontend\hi_frontend.h" %old_version% %new_version%
fart "hi_lac\hi_lac.h" %old_version% %new_version%
fart "hi_loris\hi_loris.h" %old_version% %new_version%
fart "hi_rlottie\hi_rlottie.h" %old_version% %new_version%
fart "hi_modules\hi_modules.h" %old_version% %new_version%
fart "hi_sampler\hi_sampler.h" %old_version% %new_version%
fart "hi_scripting\hi_scripting.h" %old_version% %new_version%
fart "hi_streaming\hi_streaming.h" %old_version% %new_version%
fart "hi_snex\hi_snex.h" %old_version% %new_version%
fart "hi_tools\hi_tools.h" %old_version% %new_version%
fart "hi_tools\hi_tools.h" %old_version% %new_version%
fart "projects\standalone\HISE Standalone.jucer" %old_version% %new_version%
fart "projects\plugin\HISE.jucer" %old_version% %new_version%
fart "tools\multipagecreator\multipagecreator.jucer" %old_version% %new_version%
fart "tools\auto_build\installer\hise_installer.json" %old_version% %new_version%
:end