mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
* 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/branches/v3_8@29359 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
43d4dc1aca
commit
2f857c6b6c
1 changed files with 5 additions and 1 deletions
|
@ -49,11 +49,15 @@ sub runone {
|
||||||
chdir "..";
|
chdir "..";
|
||||||
|
|
||||||
my $o="build-$dir/rockbox.zip";
|
my $o="build-$dir/rockbox.zip";
|
||||||
|
my $map="build-$dir/rockbox-maps.zip";
|
||||||
if (-f $o) {
|
if (-f $o) {
|
||||||
my $newo="output/rockbox-$dir-$version.zip";
|
my $newo="output/rockbox-$dir-$version.zip";
|
||||||
|
my $newmap="output/rockbox-$dir-$version-maps.zip";
|
||||||
system("mkdir -p output");
|
system("mkdir -p output");
|
||||||
system("mv $o $newo");
|
system("mv $o $newo");
|
||||||
print "moved $o to $newo\n" if($verbose);
|
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);
|
print "remove all contents in build-$dir\n" if($verbose);
|
||||||
|
@ -106,7 +110,7 @@ sub buildit {
|
||||||
`$c`;
|
`$c`;
|
||||||
|
|
||||||
print "Run 'make'\n" if($verbose);
|
print "Run 'make'\n" if($verbose);
|
||||||
`make`;
|
`make VERSION=$version`;
|
||||||
|
|
||||||
print "Run 'make zip'\n" if($verbose);
|
print "Run 'make zip'\n" if($verbose);
|
||||||
`make zip`;
|
`make zip`;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue