[ARVADOS-DEV] updated: 2cd13834ca9886d73e24ffb1aa66e72b30cfba76

Git user git at public.arvados.org
Mon Feb 10 19:43:50 UTC 2020


Summary of changes:
 jenkins/unpublish.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

       via  2cd13834ca9886d73e24ffb1aa66e72b30cfba76 (commit)
      from  d5316150512d9c0ebcb115be1a3279984202377f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 2cd13834ca9886d73e24ffb1aa66e72b30cfba76
Author: Peter Amstutz <peter.amstutz at curii.com>
Date:   Mon Feb 10 14:43:10 2020 -0500

    Fix find pattern for debs
    
    refs #16015
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>

diff --git a/jenkins/unpublish.sh b/jenkins/unpublish.sh
index ce476a2..394dfd4 100755
--- a/jenkins/unpublish.sh
+++ b/jenkins/unpublish.sh
@@ -2,17 +2,17 @@
 
 set -x
 
-VERNO=$1
-
-if [[ -z "$VERNO" ]] ;
+if [[ -z "$1" ]] ; then
    echo "Must provide version number to unpublish"
    exit 1
 fi
 
+VERNO=$1
+
 rm -f $(find /var/www/rpm.arvados.org/CentOS/7/testing -name *-${VERNO}*.rpm)
 createrepo /var/www/rpm.arvados.org/CentOS/7/testing/x86_64
 
 for fr in $(ls -d /var/lib/freight/apt/*-testing) ; do
-    rm -f $(find ${fr} -name *-${VERNO}*.deb)
+    rm -f $(find ${fr} -name *_${VERNO}*.deb)
     freight cache ${fr}
 done

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list