Packager can publish release candidates on foundation server
This commit is contained in:
parent
e169cd3364
commit
1d5bd7208e
@ -1150,14 +1150,16 @@ if ($nboftargetok) {
|
|||||||
|
|
||||||
if ($target eq 'SF') {
|
if ($target eq 'SF') {
|
||||||
$destFolder="$NEWPUBLISH/$filestoscan{$file}/".$MAJOR.'.'.$MINOR.'.'.$BUILD;
|
$destFolder="$NEWPUBLISH/$filestoscan{$file}/".$MAJOR.'.'.$MINOR.'.'.$BUILD;
|
||||||
print "Publish file ".$file." to $NEWPUBLISH/".$filestoscan{$file}."\n";
|
print "Publish file ".$file." to $NEWPUBLISH/".$filestoscan{$file}."/".$MAJOR.'.'.$MINOR.'.'.$BUILD."\n";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
$dirnameonly=$file;
|
||||||
|
$dirnameonly =~ s/.*\/([^\/]+)\/[^\/]+$/$1/;
|
||||||
$filenameonly=$file;
|
$filenameonly=$file;
|
||||||
$filenameonly =~ s/.*\/([^\/]+\/[^\/]+)$/$1/; # removes path
|
$filenameonly =~ s/.*\/[^\/]+\/([^\/])+$/$1/;
|
||||||
$destFolder="$NEWPUBLISH/$filenameonly";
|
$destFolder="$NEWPUBLISH/$dirnameonly";
|
||||||
print "Publish file ".$file." to $NEWPUBLISH/".$filenameonly."\n";
|
print "Publish file ".$file." to $NEWPUBLISH/".$dirnameonly."\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
# mkdir
|
# mkdir
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user