[med-svn] [Git][med-team/community/package_template][master] use \.tar\.gz instead of @ARCHIVE_EXT@ since we'll end up with bz2 archive instead of tar.gz
Andreas Tille
gitlab at salsa.debian.org
Tue Oct 8 07:24:46 BST 2019
Andreas Tille pushed to branch master at Debian Med / community / package_template
Commits:
504e6ca9 by Andreas Tille at 2019-10-08T06:24:37Z
use \.tar\.gz instead of @ARCHIVE_EXT@ since we'll end up with bz2 archive instead of tar.gz
- - - - -
1 changed file:
- personalise_template
Changes:
=====================================
personalise_template
=====================================
@@ -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"
View it on GitLab: https://salsa.debian.org/med-team/community/package_template/commit/504e6ca960dc5a1c19a39fc717d59ef727f27e4b
--
View it on GitLab: https://salsa.debian.org/med-team/community/package_template/commit/504e6ca960dc5a1c19a39fc717d59ef727f27e4b
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20191008/871f966c/attachment-0001.html>
More information about the debian-med-commit
mailing list