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
9ed4c9f3
Commit
9ed4c9f3
authored
Jul 11, 2012
by
Claudio Valerio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated the release script to handle qt4.8
parent
8ef79fbe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
+8
-9
release.macx.sh
release.macx.sh
+8
-9
No files found.
release.macx.sh
View file @
9ed4c9f3
...
...
@@ -15,7 +15,7 @@
# ---------------------------------------------------------------------
BASE_TROLLTECH_DIRECTORY
=
/usr/local/Trolltech/Qt-4.
7.3
BASE_TROLLTECH_DIRECTORY
=
/usr/local/Trolltech/Qt-4.
8.0
# Executables
QMAKE
=
$BASE_TROLLTECH_DIRECTORY
/bin/qmake
MACDEPLOYQT
=
$BASE_TROLLTECH_DIRECTORY
/bin/macdeployqt
...
...
@@ -29,7 +29,7 @@ LRELEASE=$BASE_TROLLTECH_DIRECTORY/bin/lrelease
# Directories
BUILD_DIR
=
"build/macx/release"
PRODUCT_DIR
=
"
$BUILD_DIR
/product"
BASE_QT_TRANSLATIONS_DIRECTORY
=
../Qt
-sankore3.1
/translations
BASE_QT_TRANSLATIONS_DIRECTORY
=
../Qt
4.8
/translations
function
notify
{
GROWLNOTIFY
=
`
which growlnotify
`
...
...
@@ -104,24 +104,23 @@ checkExecutable "$LRELEASE"
notify
"Cleaning ..."
rm
-rf
"
$BUILD_DIR
"
notify
"Translations ..."
# application translations
notify
"Generating applications translatons"
$LRELEASE
"Sankore_3.1.pro"
# generate Makefiles
notify
"Generating Makefile ..."
QMAKE_CMD
=
"
$QMAKE
-spec macx-g++"
QMAKE_CMD
=
"
$QMAKE
Sankore_3.1.pro
-spec macx-g++"
$QMAKE_CMD
notify
"Translations ..."
$LRELEASE
"Sankore_3.1.pro"
# build
notify
"Compiling ..."
make
-j4
release
notify
"Qt Translations ..."
$LRELEASE
$BASE_QT_TRANSLATIONS_DIRECTORY
/translations.pro
addQtTranslations
cp
-R
resources/customizations
$PRODUCT_DIR
/Open-Sankore.app/Contents/Resources
...
...
@@ -135,8 +134,8 @@ else
LAST_COMMITED_VERSION
=
"
`
git describe
$(
git rev-list
--tags
--max-count
=
1
)
`
"
if
[
"v
$VERSION
"
!=
"
$LAST_COMMITED_VERSION
"
]
;
then
echo
creating a tag with the version
$VERSION
git tag
-a
"v
$VERSION
"
-m
"Generated setup for v
$VERSION
"
git push origin
--tags
#
git tag -a "v$VERSION" -m "Generated setup for v$VERSION"
#
git push origin --tags
fi
fi
...
...
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