From: Lisa Marie Maginnis Date: Thu, 4 Aug 2016 14:55:22 +0000 (-0400) Subject: added symlink creation to edward.git X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;ds=inline;p=deploy-hooks.git added symlink creation to edward.git --- diff --git a/edward.git/post-update b/edward.git/post-update index 41f08b2..28eb768 100755 --- a/edward.git/post-update +++ b/edward.git/post-update @@ -71,6 +71,8 @@ zip -r $package_name $branch -x "*/.git/*" "*/.gitignore" &>/dev/null echo -n $(date "$date_fmt"); echo " - Pushing to packaging server: https://$package_host/emailselfdefense.fsf.org/edward/" scp $package_name.zip $package_name.tar.gz $package_user@$package_host:$package_path/ >/dev/null +ssh $package_user@$package_host ln -s $package_path/$package_name.tar.gz $package_path/edward/edward.tar.gz +ssh $package_user@$package_host ln -s $package_path/$package_name.zip $package_path/edward/edward.zip # Stop here if not updating a host if [ -z $target_host ]; then