1. Use correct filename variable (tarbz2 not tarball).
2. Insert spaces into heredoc to make links work for Gmail users.
3. The script greps the module url to see if it contains an
approved repository. The first update to the release script
contained a list of many approved repositories. Subsequent updates
during the review process had these extra repositories removed.
(git update-index --assume-unchanged release.sh can be used to
temporarily use a different repository.) That second change
removed
-e "linuxwacom/.*" (Github)
instead of
-e "/linuxwacom/.*" (Sourceforge).
Remove the slash which is not found in the Github path.
4. Remove the language about xorg, mesa, etc. from error message.
Signed-off-by: Aaron Armstrong Skomra <[email protected]>
---
release.sh | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/release.sh b/release.sh
index d082b3809f22..d70a3437a073 100755
--- a/release.sh
+++ b/release.sh
@@ -264,10 +264,10 @@ RELEASE
cat <<RELEASE
$DL_URL
-MD5: `$MD5SUM $tarball`
-SHA1: `$SHA1SUM $tarball`
-SHA256: `$SHA256SUM $tarball`
-PGP: $PGP_URL
+ MD5: `$MD5SUM $tarbz2`
+ SHA1: `$SHA1SUM $tarbz2`
+ SHA256: `$SHA256SUM $tarbz2`
+ PGP: $PGP_URL
RELEASE
}
@@ -376,12 +376,12 @@ get_section() {
module_url=`echo $module_url | cut -d'/' -f3,4`
else
# The look for mesa, xcb, etc...
- module_url=`echo "$full_module_url" | $GREP -o -e "/linuxwacom/.*"`
+ module_url=`echo "$full_module_url" | $GREP -o -e "linuxwacom/.*"`
if [ $? -eq 0 ]; then
module_url=`echo $module_url | cut -d'/' -f2,3`
else
echo "Error: unable to locate a valid project url from
\"$full_module_url\"."
- echo "Cannot establish url as one of linuxwacom, xorg, mesa, xcb,
xf86-video-nouveau, xkeyboard-config or wayland"
+ echo "Cannot establish url as linuxwacom"
cd $top_src
return 1
fi
--
2.7.4
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel