Mercurial > hg > monetdb-java
view upload_jdbc_new.sh @ 240:9471ac1f8520 embedded
Added support for snapshot releases in the version numbering.
I will be starting doing them now.
author | Pedro Ferreira <pedro.ferreira@monetdbsolutions.com> |
---|---|
date | Tue, 12 Jun 2018 15:58:10 +0200 (2018-06-12) |
parents | |
children | 5e6218d21951 |
line wrap: on
line source
#!/bin/bash set -e function echo_and_exit { echo $1 >&2 exit 1 } if [[ -z $JAVA_HOME ]] ; then echo_and_exit "The JAVA_HOME directory must be set" fi # Prepare the directory to upload to our website mkdir synchronizing # Move the monetdb-jdbc-new jar mv jars/monetdb-jdbc-new-2.37-SNAPSHOT.jar synchronizing/monetdb-jdbc-new-2.37-SNAPSHOT.jar # Rsync the library files to the monet.org machine rsync -aqz --ignore-times synchronizing/* ferreira@monetdb.org:/var/www/html/downloads/Java-Experimental/ # Remove it in the end rm -rf synchronizing