diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/make-tarball | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/make-tarball b/tools/make-tarball index 7fdeb7df..09742dc7 100755 --- a/tools/make-tarball +++ b/tools/make-tarball @@ -23,12 +23,13 @@ if [ ! -z "$1" ]; then else REVNO=$(bzr revno $ROOT_DIR) VERSION=$($ROOT_DIR/tools/read-version) - ARCHIVE_FN="$PWD/cloud-init-$REVNO-$VERSION.tar.gz" + ARCHIVE_FN="$PWD/cloud-init-$VERSION-$REVNO.tar.gz" fi FILES=$(cd $ROOT_DIR && bzr ls --versioned --recursive) echo "$FILES" | tar czf $ARCHIVE_FN \ -C "$ROOT_DIR" \ + --transform "s,^,cloud-init-$VERSION-$REVNO/," \ --no-recursion --files-from - echo "$ARCHIVE_FN" |