mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37:03 -07:00
Fixed version information
This commit is contained in:
parent
9b7f2b5dcd
commit
515170e44b
2 changed files with 4 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue