Commit 8d441239 authored by Khalid Elmously's avatar Khalid Elmously

UBUNTU: [Packaging] update helper scripts

BugLink: http://bugs.launchpad.net/bugs/1786013Signed-off-by: default avatarKhalid Elmously <khalid.elmously@canonical.com>
parent c6a89c4b
#!/bin/bash -eu
export LC_ALL=C
export LC_ALL=C.UTF-8
usage() {
cat << EOF
......@@ -174,11 +174,3 @@ package=$(dpkg-parsechangelog -l"$DEBIAN/changelog" -SSource)
prefix="Ubuntu$(echo "$package" | sed -r -e 's/linux(-?)/\1/')-"
version=$(dpkg-parsechangelog -l"$DEBIAN/changelog" -SVersion)
run git commit -sam "UBUNTU: $prefix$version"
# This should only show the tag. If it starts tagging, we might revisit
# where it is called, or not fail if it points to the same thing, and
# warns/errors out if the tag exists, but do not point to the same
# thing.
alt_version="${version//\~/_}"
head=$(git rev-parse HEAD)
echo "git tag -sm '$prefix$version' '$prefix$alt_version' $head"
#!/bin/bash -eu
export LC_ALL=C
export LC_ALL=C.UTF-8
usage() {
cat << EOF
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment