Commit d1684095 authored by Jeremy Bokobza's avatar Jeremy Bokobza

replace the spaces in the name with a dot as CI system have trouble handling spaces in names.

parent 1d97f425
...@@ -62,6 +62,8 @@ Write-Host "[$env:configuration][$env:win_runtime] FINISHED Breeze packaging" -f ...@@ -62,6 +62,8 @@ Write-Host "[$env:configuration][$env:win_runtime] FINISHED Breeze packaging" -f
dir dir
cd app-builds cd app-builds
# replace the spaces in the name with a dot as CI system have trouble handling spaces in names.
Dir *.exe | rename-item -newname { $_.name -replace " ","." }
dir dir
Write-Host "[$env:configuration][$env:win_runtime] Done! Your installer is:" -foregroundcolor "green" Write-Host "[$env:configuration][$env:win_runtime] Done! Your installer is:" -foregroundcolor "green"
Get-ChildItem -Path "*.exe" | foreach-object {$_.Fullname} Get-ChildItem -Path "*.exe" | foreach-object {$_.Fullname}
......
...@@ -62,6 +62,8 @@ Write-Host "[$env:configuration][$env:win_runtime] FINISHED Breeze packaging" -f ...@@ -62,6 +62,8 @@ Write-Host "[$env:configuration][$env:win_runtime] FINISHED Breeze packaging" -f
dir dir
cd app-builds cd app-builds
# replace the spaces in the name with a dot as CI system have trouble handling spaces in names.
Dir *.exe | rename-item -newname { $_.name -replace " ","." }
dir dir
Write-Host "[$env:configuration][$env:win_runtime] Done! Your installer is:" -foregroundcolor "green" Write-Host "[$env:configuration][$env:win_runtime] Done! Your installer is:" -foregroundcolor "green"
Get-ChildItem -Path "*.exe" | foreach-object {$_.Fullname} Get-ChildItem -Path "*.exe" | foreach-object {$_.Fullname}
......
...@@ -105,6 +105,8 @@ build_script: ...@@ -105,6 +105,8 @@ build_script:
dir dir
cd app-builds cd app-builds
# replace the spaces in the name with a dot as CI system have trouble handling spaces in names.
Dir *.exe | rename-item -newname { $_.name -replace " ","." }
dir dir
if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) } if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) }
......
...@@ -78,6 +78,9 @@ ls ...@@ -78,6 +78,9 @@ ls
echo $log_prefix contents of the app-builds folder echo $log_prefix contents of the app-builds folder
cd $TRAVIS_BUILD_DIR/Breeze.UI/app-builds/ cd $TRAVIS_BUILD_DIR/Breeze.UI/app-builds/
# replace the spaces in the name with a dot as CI system have trouble handling spaces in names.
for file in *.{dmg,tar.gz,deb}; do mv "$file" `echo $file | tr ' ' '.'` 2>/dev/null || : ; done
ls ls
echo $log_prefix FINISHED build echo $log_prefix FINISHED build
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment