From f0dbc87e323f2e4cba6d7761f7a76f20d915f4ef Mon Sep 17 00:00:00 2001 From: Lisa Marie Maginnis Date: Thu, 4 Aug 2016 10:55:22 -0400 Subject: [PATCH] added symlink creation to edward.git --- edward.git/post-update | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.25.1