Mercurial > hg > monetdb-java
view upload_jdbc_new.sh @ 470:122773971f50 embedded
Closing embedded as MonetDBe-Java has been released
author | Pedro Ferreira <pedro.ferreira@monetdbsolutions.com> |
---|---|
date | Thu, 15 Apr 2021 15:57:48 +0200 (2021-04-15) |
parents | 5e6218d21951 |
children |
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.jar synchronizing/monetdb-jdbc-new-2.37.jar # Rsync the library files to the monet.org machine rsync -qz --ignore-times synchronizing/* ferreira@monetdb.org:/var/www/html/downloads/Java-Experimental/ # Remove it in the end rm -rf synchronizing