Skip to content
Snippets Groups Projects
Commit 2b1c91ba authored by felmer's avatar felmer
Browse files

SSDM-5994: Add version name of pybis ZIP file.

SVN: 39058
parent f9346545
No related branches found
No related tags found
No related merge requests found
......@@ -397,13 +397,17 @@ task zipDss(type: Zip, dependsOn: signWebStartJars) {
task clientsAndApis(type: Zip, dependsOn: [dssClientZip, queryApiZip, apiV3Zip, proteomicsApiZip, screeningApiZip]) {
baseName 'openBIS-clients-and-APIs'
downloadFile('https://sissource.ethz.ch/sispub/pybis/repository/RELEASE/archive.zip', 'pybis.zip')
from zipTree('targets/downloads/pybis.zip')
from 'targets/downloads/pybis.zip'
from dssClientZip.archivePath
from queryApiZip.archivePath
from apiV3Zip.archivePath
from proteomicsApiZip.archivePath
from screeningApiZip.archivePath
from ('../openbis_all/dist/readme.txt')
def contentOfSetUpFile = zipTree('targets/downloads/pybis.zip').getFiles().findAll {it.path.endsWith('PyBis/setup.py') }.iterator().next().text
def pybisVersion = ( contentOfSetUpFile =~ /version.*=.*'(.*)'/)[0][1]
println pybisVersion
rename 'pybis.zip', "pybis-${pybisVersion}.zip"
}
task generateJavadoc(type: Javadoc) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment