diff options
| author | Alex Parker <rockbox@aeparker.com> | 2011-02-20 19:27:09 +0000 |
|---|---|---|
| committer | Alex Parker <rockbox@aeparker.com> | 2011-02-20 19:27:09 +0000 |
| commit | bf7276d1d0668006f14c68b8aaffb2855ce36665 (patch) | |
| tree | 33a656783753110300c9727cd0e660216f4db767 | |
| parent | 1e16923f2542a7b1f75eda3a98f39a5caaca27c7 (diff) | |
| download | rockbox-bf7276d1d0668006f14c68b8aaffb2855ce36665.zip rockbox-bf7276d1d0668006f14c68b8aaffb2855ce36665.tar.gz rockbox-bf7276d1d0668006f14c68b8aaffb2855ce36665.tar.bz2 rockbox-bf7276d1d0668006f14c68b8aaffb2855ce36665.tar.xz | |
* Keep the map files instead of building then throwing them away in the release script.
* Pass the release version to make in the release script instead of having to remember to hack up version.sh in the release branch.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29358 a1c6a512-1295-4272-9138-f99709370657
| -rwxr-xr-x | tools/release/bins.pl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/release/bins.pl b/tools/release/bins.pl index 8aa44ab..f45450a 100755 --- a/tools/release/bins.pl +++ b/tools/release/bins.pl @@ -49,11 +49,15 @@ sub runone { chdir ".."; my $o="build-$dir/rockbox.zip"; + my $map="build-$dir/rockbox-maps.zip"; if (-f $o) { my $newo="output/rockbox-$dir-$version.zip"; + my $newmap="output/rockbox-$dir-$version-maps.zip"; system("mkdir -p output"); system("mv $o $newo"); print "moved $o to $newo\n" if($verbose); + system("mv $map $newmap"); + print "moved $map to $newmap\n" if($verbose); } print "remove all contents in build-$dir\n" if($verbose); @@ -106,7 +110,7 @@ sub buildit { `$c`; print "Run 'make'\n" if($verbose); - `make`; + `make VERSION=$version`; print "Run 'make zip'\n" if($verbose); `make zip`; |