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
35c5d6ef
Commit
35c5d6ef
authored
May 10, 2016
by
Jamie Hall
Browse files
testing macos package script
parent
b12dcd99
Pipeline
#255
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
BuildServer/Darwin/Scripts/package.sh
View file @
35c5d6ef
...
...
@@ -23,6 +23,8 @@ BUILD_TARGET=darwin
cd
../../../
declare
-x
MDANSE_VERSION
=
$(
grep
-Po
'(?<=__version__ = \")\d.\d.\d'
MDANSE/__pkginfo__.py
)
echo
${
MDANSE_VERSION
}
exit
# Which version name are we appending to the final archive
TARGET_DIR
=
MDANSE-
${
MDANSE_VERSION
}
-
${
BUILD_TARGET
}
...
...
@@ -100,7 +102,7 @@ hdiutil unmount /Volumes/MDANSE -force -quiet
sleep
5
../Tools/create-dmg/create-dmg
--background
"../Resources/background.jpg"
--volname
"MDANSE"
--window-pos
200 120
--window-size
800 400
--icon
MDANSE.app 200 190
--hide-extension
MDANSE.app
--app-drop-link
600 185 MDANSE
.dmg
./dist
../Tools/create-dmg/create-dmg
--background
"../Resources/background.jpg"
--volname
"MDANSE"
--window-pos
200 120
--window-size
800 400
--icon
MDANSE.app 200 190
--hide-extension
MDANSE.app
--app-drop-link
600 185
${
MDANSE
_DMG
}
./dist
curl
-T
${
MDANSE_DMG
}
ftp://
$CI_FTP_USER_USERNAME
:
$CI_FTP_USER_PASSWORD
@ftp.ill.fr/mdanse/
exit
...
...
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