mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
use double quotes for variable expansion
Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
parent
061a8a841f
commit
8c164ccbaa
1 changed files with 2 additions and 2 deletions
4
debian/release.sh
vendored
4
debian/release.sh
vendored
|
@ -14,7 +14,7 @@ head -n1 debian/changelog | grep "karmic" || error "This version must be ready f
|
||||||
minor=`head -n1 debian/changelog | sed "s/^.*($MAJOR.//" | sed "s/-.*$//"`
|
minor=`head -n1 debian/changelog | sed "s/^.*($MAJOR.//" | sed "s/-.*$//"`
|
||||||
bzr tag --delete "$MAJOR.$minor" || true
|
bzr tag --delete "$MAJOR.$minor" || true
|
||||||
bzr tag "$MAJOR.$minor"
|
bzr tag "$MAJOR.$minor"
|
||||||
bzr commit -m 'releasing $MAJOR.$minor'
|
bzr commit -m "releasing $MAJOR.$minor"
|
||||||
|
|
||||||
# Sign the tarball
|
# Sign the tarball
|
||||||
gpg --armor --sign --detach-sig ../"$PKG"_*.orig.tar.gz
|
gpg --armor --sign --detach-sig ../"$PKG"_*.orig.tar.gz
|
||||||
|
@ -35,7 +35,7 @@ dch -v "$MAJOR.$nextminor" "UNRELEASED"
|
||||||
sed -i "s/$MAJOR.$nextminor) .*;/$MAJOR.$nextminor) unreleased;/" debian/changelog
|
sed -i "s/$MAJOR.$nextminor) .*;/$MAJOR.$nextminor) unreleased;/" debian/changelog
|
||||||
sed -i "s/^Version:.*$/Version: $MAJOR.$nextminor/" rpm/$PKG.spec
|
sed -i "s/^Version:.*$/Version: $MAJOR.$nextminor/" rpm/$PKG.spec
|
||||||
sed -i "s%^Source0:.*$%Source0: http://code.launchpad.net/$PKG/trunk/$MAJOR.$nextminor/+download/byobu_$MAJOR.$nextminor.orig.tar.gz%" rpm/$PKG.spec
|
sed -i "s%^Source0:.*$%Source0: http://code.launchpad.net/$PKG/trunk/$MAJOR.$nextminor/+download/byobu_$MAJOR.$nextminor.orig.tar.gz%" rpm/$PKG.spec
|
||||||
bzr commit -m 'opening $MAJOR.$nextminor'
|
bzr commit -m "opening $MAJOR.$nextminor"
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "# To upload PPA packages:"
|
echo "# To upload PPA packages:"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue