Commit 504e6ca9 authored by Andreas Tille's avatar Andreas Tille
Browse files

use \.tar\.gz instead of @ARCHIVE_EXT@ since we'll end up with bz2 archive instead of tar.gz

parent 04214ea1
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -52,7 +52,8 @@ fi
if echo "$PHOMEPAGE" | grep -q 'gitlab\.com' ; then
  echo "version=4\n" > watch
  UNAME=$(echo $PHOMEPAGE | sed 's:/$::' | sed 's:^.*/\([^/]\+\):\1:')
  echo "$PHOMEPAGE/tags?sort=updated_desc .*/archive/v?@ANY_VERSION@/${UNAME}[-v]*.*@ARCHIVE_EXT@" >> watch
  # use \.tar\.gz instead of @ARCHIVE_EXT@ since we'll end up with bz2 archive instead of tar.gz
  echo "$PHOMEPAGE/tags?sort=updated_desc .*/archive/v?@ANY_VERSION@/${UNAME}[-v]*.*\.tar\.gz" >> watch
  sed -i -e "s/^\(Upstream-Name:\).*/\1 ${UNAME}/" -e "s?^\(Source:\).*?\1 ${PHOMEPAGE}?" copyright
fi
cd "$CURDIR"