-
Notifications
You must be signed in to change notification settings - Fork 6
/
0_version.cmd
22 lines (19 loc) · 1.45 KB
/
0_version.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
set SPATH="C:\Program Files\Git\usr\bin"
set OLDVERSION=8.4.5
set NEWVERSION=8.5.0
set OLDSHORTVERSION=8.4
set NEWSHORTVERSION=8.5
REM Ersetze "foo" mit "bar" NUR in Zeilen die "baz" enthalten
%SPATH%\sed -b --in-place=.sedcopy "/MyAppVersion/s/%OLDVERSION%/%NEWVERSION%/g" innosetup.iss
%SPATH%\sed -b --in-place=.sedcopy "/MyAppVersion/s/%OLDVERSION%/%NEWVERSION%/g" opb+scripted.iss
%SPATH%\sed -b --in-place=.sedcopy "/bundle_version/s/%OLDVERSION%/%NEWVERSION%/g" pyinstaller-mac.spec
%SPATH%\sed -b --in-place=.sedcopy "/version/s/%OLDVERSION%/%NEWVERSION%/g" setup.py
%SPATH%\sed -b --in-place=.sedcopy "/PROGRAM_VERSION/s/%OLDVERSION%/%NEWVERSION%/g" oPB\__init__.py
%SPATH%\sed -b --in-place=.sedcopy "s/%OLDVERSION%/%NEWVERSION%/g" linux\debreate-normal.dbp
%SPATH%\sed -b --in-place=.sedcopy "s/%OLDVERSION%/%NEWVERSION%/g" linux\debreate-self-contained.dbp
%SPATH%\sed -b --in-place=.sedcopy "s/%OLDVERSION%/%NEWVERSION%/g" linux\opb-helpviewer.desktop
%SPATH%\sed -b --in-place=.sedcopy "s/%OLDVERSION%/%NEWVERSION%/g" linux\opsipackagebuilder.desktop
%SPATH%\sed -b --in-place=.sedcopy "/release/s/%OLDVERSION%/%NEWVERSION%/g" docs\source\conf.py
%SPATH%\sed -b --in-place=.sedcopy "/version/s/%OLDSHORTVERSION%/%NEWSHORTVERSION%/g" docs\source\conf.py
%SPATH%\sed -b --in-place=.sedcopy "/opsipackagebuilder.exe/s/%OLDVERSION%.0/%NEWVERSION%.0/g" 4_distrib.cmd
%SPATH%\sed -b --in-place=.sedcopy "/helpviewer.exe/s/%OLDVERSION%.0/%NEWVERSION%.0/g" 4_distrib.cmd