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
8d56fac1
Commit
8d56fac1
authored
May 10, 2016
by
Jamie Hall
Browse files
Updated the windows package script
parent
70cfe9ed
Pipeline
#252
skipped
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
BuildServer/Windows/package.sh
View file @
8d56fac1
...
...
@@ -237,7 +237,7 @@ elif [ $TASK = "build" ]; then
cd
${
CI_PROJECT_DIR
}
# Other way to fetch the current version without python
VERSION
=
$(
grep
-Po
'(?<=__version__ = \")\d.\d.\d'
MDANSE/__pkginfo__.py
)
MDANSE_
VERSION
=
$(
grep
-Po
'(?<=__version__ = \")\d.\d.\d'
MDANSE/__pkginfo__.py
)
cd
${
SCRIPT_DIR
}
...
...
@@ -245,7 +245,7 @@ elif [ $TASK = "build" ]; then
# create the MDANSE installer
echo
"Creating nsis installer for target
${
BUILD_TARGET
}
..."
makensis /V4 /ONSISlog.txt /DVERSION
=
${
VERSION
}
/DARCH
=
${
BUILD_TARGET
}
/DPYTHON_INST
=
"
${
TARGET_DIR
}
"
MDANSE_installer.nsi
makensis /V4 /ONSISlog.txt /DVERSION
=
${
MDANSE_
VERSION
}
/DARCH
=
${
BUILD_TARGET
}
/DPYTHON_INST
=
"
${
TARGET_DIR
}
"
MDANSE_installer.nsi
curl
-T
"MDANSE
_*
.exe"
ftp://
$CI_FTP_USER_USERNAME
:
$CI_FTP_USER_PASSWORD
@ftp.ill.fr/mdanse/
curl
-T
"MDANSE
-
${
MDANSE_VERSION
}
-
${
BUILD_TARGET
}
.exe"
ftp://
$CI_FTP_USER_USERNAME
:
$CI_FTP_USER_PASSWORD
@ftp.ill.fr/mdanse/
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