summaryrefslogtreecommitdiff
path: root/librerelease
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-03-10 16:55:01 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-03-10 16:55:01 -0300
commitde28a019385b3a4465ffeadf39e51f0411771edf (patch)
treed6f9eb37d06b08bcc5364ccb8e3402c8ece57f2d /librerelease
parentac5d8f7455cd1466737271c1ee9b4ae216339f41 (diff)
LibreRelease run a command before syncingv20110310
Diffstat (limited to 'librerelease')
-rwxr-xr-xlibrerelease2
1 files changed, 2 insertions, 0 deletions
diff --git a/librerelease b/librerelease
index f592b9e..900cad3 100755
--- a/librerelease
+++ b/librerelease
@@ -25,6 +25,8 @@ source /etc/libretools.conf
custom_config=$XDG_CONFIG_HOME/libretools/libretools.conf
[[ -e $custom_config ]] && source $custom_config
+[[ ! -z ${HOOKPRERELEASE} ]] && bash -c "${HOOKPRERELEASE}"
+
echo ":: Uploading packages..."
rsync --recursive \
--copy-links \