summaryrefslogtreecommitdiffstats
path: root/build/jenkins-build.sh
diff options
context:
space:
mode:
authorTomas Kulhanek <tomas.kulhanek@stfc.ac.uk>2019-01-15 21:33:38 +0000
committerGitHub <noreply@github.com>2019-01-15 21:33:38 +0000
commit3b309224fc4935a8dc627e8863479b3c29349ce8 (patch)
tree3f025684d31a24904b2922a117208db1f93bd6a6 /build/jenkins-build.sh
parent73eab3d64f2bf5ad170bea35c4db1d3ae5758c06 (diff)
downloadregularization-3b309224fc4935a8dc627e8863479b3c29349ce8.tar.gz
regularization-3b309224fc4935a8dc627e8863479b3c29349ce8.tar.bz2
regularization-3b309224fc4935a8dc627e8863479b3c29349ce8.tar.xz
regularization-3b309224fc4935a8dc627e8863479b3c29349ce8.zip
ADD: TODOs
Diffstat (limited to 'build/jenkins-build.sh')
-rwxr-xr-xbuild/jenkins-build.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/jenkins-build.sh b/build/jenkins-build.sh
index 4699e9b..afee0c9 100755
--- a/build/jenkins-build.sh
+++ b/build/jenkins-build.sh
@@ -1,8 +1,10 @@
#!/usr/bin/env bash
+# TODO put git tag recognition
if [[ -n ${CIL_VERSION} ]]
then
echo Using defined version: $CIL_VERSION
else
+# TODO put git tag recognition, or default
export CIL_VERSION=0.10.4
echo Defining version: $CIL_VERSION
fi
@@ -38,6 +40,8 @@ if [[ -n ${CCPI_CONDA_TOKEN} ]]
then
conda install anaconda-client
while read -r outfile; do
+ #TODO if git tag is defined than call anaconda without --label dev
+ #TODO if pull request??? do not upload
anaconda -v -t ${CCPI_CONDA_TOKEN} upload $outfile --force --label dev
done <<< "$REG_FILES"
else