Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scientific Software
MDANSE
Commits
8f192bfe
Commit
8f192bfe
authored
May 11, 2016
by
Jamie Hall
Browse files
Update package.sh
parent
08ea5d4f
Pipeline
#279
failed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
BuildServer/Darwin/Scripts/package.sh
View file @
8f192bfe
...
...
@@ -20,8 +20,6 @@ CYAN="\\033[1;36m"
##Select the build target
BUILD_TARGET
=
darwin
echo
${
CI_BUILD_TAG
}
cd
../../../
# old way to get MDANSE version
...
...
@@ -35,7 +33,7 @@ echo -e "$BLEU""Getting last MDANSE revision" "$NORMAL"
# Get revision number from git (without trailing newline)
REV_NUMBER
=
$(
git rev-list
--count
HEAD
)
echo
"
$BLEU
""Revision number
is -->
${
REV_NUMBER
}
<--
"
"
$NORMAL
"
echo
-e
"
$BLEU
""Revision number
=
${
REV_NUMBER
}
"
"
$NORMAL
"
# Add current revision number to python source code (will appear in "About..." dialog)
# see http://stackoverflow.com/questions/7648328/getting-sed-error
...
...
@@ -92,11 +90,12 @@ cd ../Build
rm
-rf
dist/MDANSE.app/Contents/Resources/lib/python2.7/matplotlib/tests
rm
-rf
dist/MDANSE.app/Contents/Resources/mpl-data/sample_data
MDANSE_DMG
=
MDANSE-
${
CI_BUILD_TAG
}
-
${
BUILD_TARGET
}
.dmg
echo
-e
"
$BLEU
""sdhfkdshfkjhf
${
MDANSE_DMG
}
"
"
$NORMAL
"
#Add MDANSE version file (should read the version from the bundle with pyobjc, but will figure that out later)
echo
"
${
CI_BUILD_TAG
" > dist/MDANSE.app/Contents/Resources/version
MDANSE_DMG=MDANSE-
${
CI_BUILD_TAG
}
-
${
BUILD_TARGET
}
.dmg
rm -f ./
${
MDANSE_DMG
}
rm -f ./rw.
${
MDANSE_DMG
}
...
...
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