Update release script

This commit is contained in:
Laurence Withers 2006-07-28 10:54:59 +01:00
parent 4e0b07dfd2
commit c6eb191b49
1 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
# @P@/scripts/release.sh # lw-build-system/scripts/release.sh
# #
# (c)2006, @AUTHOR@, <@EMAIL@>. # (c)2006, Laurence Withers, <l@lwithers.me.uk>.
# Released under the GNU GPLv2. See file COPYING or # Released under the GNU GPLv2. See file COPYING or
# http://www.gnu.org/copyleft/gpl.html for details. # http://www.gnu.org/copyleft/gpl.html for details.
# #
@ -22,13 +22,13 @@ source "${REPOS}/scripts/functions.sh" || exit 1
# Get version etc. # Get version etc.
if [ $# -ne 2 ] if [ $# -ne 2 ]
then then
echo "Usage: scripts/release.sh <version> <output_dir>" echo "Usage: $0 <version> <output_dir>"
exit 1 exit 1
fi fi
VER=$1 VER=$1
DIR=$2 DIR=$2
PKGNAME="@P@-${VER}" PKGNAME="$(basename ${REPOS})-${VER}"
@ -76,5 +76,5 @@ gpg -a -b "${PKGNAME}-doc.tar.bz2"
# clean up # clean up
rm -rf "${PKGNAME}" "${PKGNAME}-doc" rm -rf "${PKGNAME}" "${PKGNAME}-doc"
# kate: @KATE_MODELINE@ # kate: replace-trailing-space-save true; space-indent true; tab-width 4;
# vim: @VIM_MODELINE@ # vim: ts=4:sw=4:expandtab