summaryrefslogtreecommitdiff
path: root/packages/make-dist-tarball
diff options
context:
space:
mode:
Diffstat (limited to 'packages/make-dist-tarball')
-rwxr-xr-xpackages/make-dist-tarball25
1 files changed, 0 insertions, 25 deletions
diff --git a/packages/make-dist-tarball b/packages/make-dist-tarball
deleted file mode 100755
index 622283bd..00000000
--- a/packages/make-dist-tarball
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/sh
-
-Usage() {
- cat <<EOF
-Usage: ${0##*/} version
- make a tarball of 'version'
- must be in a bzr directory, and 'version' must be a tag
-
-EOF
-}
-
-topdir="../$PWD"
-tag=${1}
-
-[ -n "$tag" ] || { Usage 1>&2 ; exit 1; }
-
-tmpd=$(mktemp -d );
-trap "rm -Rf '${tmpd}'" 0
-
-out=${topdir}/cloud-init-${tag}.tar.gz
-
-cd ${tmpd} &&
- bzr branch -r "tag:${tag}" "${topdir}" ./cloud-init-${tag} &&
- tar czf "${out}" cloud-init-${tag}/ --exclude cloud-init-${tag}/.bzr &&
- echo "Wrote ${out}"