summaryrefslogtreecommitdiff
path: root/librerelease
diff options
context:
space:
mode:
Diffstat (limited to 'librerelease')
-rwxr-xr-xlibrerelease5
1 files changed, 4 insertions, 1 deletions
diff --git a/librerelease b/librerelease
index ad083a3..900cad3 100755
--- a/librerelease
+++ b/librerelease
@@ -25,16 +25,19 @@ 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 \
+ --hard-links \
--partial \
--prune-empty-dirs \
--human-readable \
--progress \
-e "ssh " \
${WORKDIR}/staging \
- ${PARABOLAHOST}:${LIBREDESTDIR} || exit 1
+ ${PARABOLAHOST}:${LIBREDESTDIR}/ || exit 1
echo ":: Removing packages from local [staging]"
find ${WORKDIR}/staging/ -iname "*.pkg.tar.*" -delete