diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2012-04-12 21:14:11 +0200 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2012-04-12 21:15:49 +0200 |
commit | 2aae74545855e133d6f0e6ce56bbb8995fd1b51e (patch) | |
tree | 988e00bb652eb50310ef4f79cc92a45e184ada96 /tools/release | |
parent | e9d5f6cb61fb9ef997213b64b8086574f591f3a5 (diff) | |
download | rockbox-2aae74545855e133d6f0e6ce56bbb8995fd1b51e.tar.gz rockbox-2aae74545855e133d6f0e6ce56bbb8995fd1b51e.zip |
Add new tarball generation script.
The old script depended on svn. An earlier version of this script has already
been used in the 3.11. branch.
Change-Id: Id03abb8f7bd005ede343243194c4453f0b2e8943
Diffstat (limited to 'tools/release')
-rwxr-xr-x | tools/release/tarball.sh | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/tools/release/tarball.sh b/tools/release/tarball.sh deleted file mode 100755 index 21335dd954..0000000000 --- a/tools/release/tarball.sh +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | version="3.0" | ||
4 | |||
5 | srcdir=. | ||
6 | tempdir=rockbox-temp | ||
7 | outfile=rockbox-$version.7z | ||
8 | |||
9 | # remove previous leftovers | ||
10 | rm -rf $tempdir | ||
11 | |||
12 | cd $srcdir | ||
13 | |||
14 | # create the dir name based on revision number | ||
15 | rbdir=$tempdir/rockbox-$version | ||
16 | |||
17 | # create new temp dir | ||
18 | mkdir -p $rbdir | ||
19 | |||
20 | # copy everything to the temp dir | ||
21 | svn ls -R | xargs -Imoo cp --parents moo $rbdir 2>/dev/null | ||
22 | |||
23 | cd $tempdir | ||
24 | |||
25 | rm -f $outfile | ||
26 | |||
27 | # 7zip the entire directory | ||
28 | 7zr a $outfile rockbox* | ||
29 | |||
30 | # world readable please | ||
31 | chmod a+r $outfile | ||
32 | |||
33 | # remove temporary files | ||
34 | rm -rf $tempdir | ||