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
2236ff41
Commit
2236ff41
authored
Feb 26, 2013
by
Claudio Valerio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed unused code
parent
801f349e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
release.macx.sh
release.macx.sh
+3
-6
No files found.
release.macx.sh
View file @
2236ff41
...
@@ -125,17 +125,17 @@ addQtTranslations
...
@@ -125,17 +125,17 @@ addQtTranslations
cp
-R
resources/customizations
$PRODUCT_DIR
/Open-Sankore.app/Contents/Resources
cp
-R
resources/customizations
$PRODUCT_DIR
/Open-Sankore.app/Contents/Resources
notify
"Tagging ..."
VERSION
=
`
cat
"
$BUILD_DIR
/version"
`
VERSION
=
`
cat
"
$BUILD_DIR
/version"
`
if
[
!
-f
"
$BUILD_DIR
/version"
]
;
then
if
[
!
-f
"
$BUILD_DIR
/version"
]
;
then
echo
"version not found"
echo
"version not found"
exit
1
exit
1
else
else
notify
"Tagging ..."
LAST_COMMITED_VERSION
=
"
`
git describe
$(
git rev-list
--tags
--max-count
=
1
)
`
"
LAST_COMMITED_VERSION
=
"
`
git describe
$(
git rev-list
--tags
--max-count
=
1
)
`
"
if
[
"v
$VERSION
"
!=
"
$LAST_COMMITED_VERSION
"
]
;
then
if
[
"v
$VERSION
"
!=
"
$LAST_COMMITED_VERSION
"
]
;
then
echo
creating a tag with the version
$VERSION
echo
creating a tag with the version
$VERSION
#
git tag -a "v$VERSION" -m "Generated setup for v$VERSION"
git tag
-a
"v
$VERSION
"
-m
"Generated setup for v
$VERSION
"
#
git push origin --tags
git push origin
--tags
fi
fi
fi
fi
...
@@ -156,9 +156,6 @@ INFO_PLIST="$APP/Contents/Info.plist"
...
@@ -156,9 +156,6 @@ INFO_PLIST="$APP/Contents/Info.plist"
rm
-f
"
$APP
/Contents/Resources/empty.lproj"
rm
-f
"
$APP
/Contents/Resources/empty.lproj"
notify
"Removing .svn directories ..."
find
"
$APP
"
-name
.svn
-exec
rm
-rf
{}
\;
2> /dev/null
# set various version infomration in Info.plist
# set various version infomration in Info.plist
$PLISTBUDDY
-c
"Set :CFBundleVersion
$VERSION
"
"
$INFO_PLIST
"
$PLISTBUDDY
-c
"Set :CFBundleVersion
$VERSION
"
"
$INFO_PLIST
"
$PLISTBUDDY
-c
"Set :CFBundleShortVersionString
$VERSION
"
"
$INFO_PLIST
"
$PLISTBUDDY
-c
"Set :CFBundleShortVersionString
$VERSION
"
"
$INFO_PLIST
"
...
...
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