Skip to content
Snippets Groups Projects
Commit 1d5bd720 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Packager can publish release candidates on foundation server

parent e169cd33
Branches
Tags
No related merge requests found
...@@ -1150,14 +1150,16 @@ if ($nboftargetok) { ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment