Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenBoard
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lifo
Nicolas Ollinger
OpenBoard
Commits
47693298
Commit
47693298
authored
May 03, 2011
by
Claudio Valerio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new script for create a windows release
parent
edb9d897
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
8 deletions
+15
-8
release.vc9.bat
release.vc9.bat
+15
-8
No files found.
release.vc9.bat
View file @
47693298
...
...
@@ -17,16 +17,19 @@ rmdir /S /Q %BUILD_DIR%
:END_COMMENT1
set EDITION=MNEMIS_EDITION
set EDITION_LABEL=
if %2.==Wacom. set EDITION=WACOM_EDITION
if %2.==Wacom. set EDITION_LABEL=Wacom Edition
qmake "DEFINES+=%EDITION%"
set VERSION=1
set LONG_VERSION=1.0.a.0
set SVN_VERSION=0
set /p VERSION= < build\win32\release\version
git rev-list --tags --max-count=1 > tmp
set /p LAST_TAG= < tmp
erase tmp
git describe %LAST_TAG% > tmp
set /p LAST_TAG_VERSION=< tmp
erase tmp
if not %VERSION%==%LAST_TAG_VERSION% GOTO EXIT_WITH_ERROR
nmake release-install
...
...
@@ -34,8 +37,12 @@ nmake release-install
del .\build\win32\release\product\Sankore 3.1.pdb
set INSTALLER_NAME=Sankore 3.1
%VERSION%
setup
set INSTALLER_NAME=Sankore 3.1 setup
set INSTALLER_PATH=.\install\win32\%INSTALLER_NAME%.exe
call %INNO_EXE% "Sankore 3.1.iss" /F"%INSTALLER_NAME%"
:EXIT_WITH_ERROR
echo version %VERSION%
echo last tag version %LAST_TAG_VERSION%
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment