Fixed version information

This commit is contained in:
RKrom 2014-06-11 15:26:48 +02:00
commit 515170e44b
2 changed files with 4 additions and 5 deletions

View file

@ -24,8 +24,7 @@
$version=$env:APPVEYOR_BUILD_VERSION
$gitcommit=$env:APPVEYOR_REPO_COMMIT
$detailversion='$version-$gitcommit'
$detailversion=$version + '-' + $gitcommit
Write-Host "Building Greenshot $detailversion"
# Create a MD5 string for the supplied filename
@ -38,7 +37,7 @@ Function MD5($filename) {
# Fill the templates
Function FillTemplates {
Write-Host "Filling templates for Git version $detailversion`n`n"
Write-Host "Filling templates for version $detailversion`n`n"
Get-ChildItem . -recurse *.template |
foreach {
@ -112,7 +111,7 @@ Function PackagePortable {
$portableOutput = "$(get-location)\portable"
$portableInstaller = "$(get-location)\greenshot\tools\PortableApps.comInstaller\PortableApps.comInstaller.exe"
$arguments = @("$destbase\portabletmp")
Write-Hos "Starting $portableInstaller $arguments"
Write-Host "Starting $portableInstaller $arguments"
$portableResult = Start-Process -wait -PassThru "$portableInstaller" -ArgumentList $arguments -NoNewWindow -RedirectStandardOutput "$portableOutput.log" -RedirectStandardError "$portableOutput.error"
Write-Host "Log output:"
Get-Content "$portableOutput.log"| Write-Host

View file

@ -38,7 +38,7 @@ Function FillCredentials {
$newtext += $line
}
# Write the new information to the file
Write-Host "Updating $_`n"
Write-Host "Updating $_"
$newtext | Set-Content $_.FullName -encoding UTF8
}
}