Skip to content

Commit

Permalink
(transifex-client) Changed to include binary as tx.exe
Browse files Browse the repository at this point in the history
  • Loading branch information
AdmiringWorm committed Dec 3, 2017
1 parent f4ac2df commit 4a94eb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
15 changes: 0 additions & 15 deletions automatic/transifex-client/tools/chocolateyInstall.ps1

This file was deleted.

7 changes: 2 additions & 5 deletions automatic/transifex-client/update.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,16 @@ Import-Module "$PSScriptRoot\..\..\scripts\au_extensions.psm1"

$releases = 'https://github.com/transifex/transifex-client/releases/latest'

function global:au_BeforeUpdate { Get-RemoteFiles -Purge -NoSuffix }
function global:au_BeforeUpdate { Get-RemoteFiles -Purge -NoSuffix -FileNameBase tx }

function global:au_SearchReplace {
@{
".\legal\VERIFICATION.txt" = @{
".\legal\VERIFICATION.txt" = @{
"(?i)(^\s*location on\:?\s*)\<.*\>" = "`${1}<$releases>"
"(?i)(\s*64\-Bit Software.*)\<.*\>" = "`${1}<$($Latest.URL64)>"
"(?i)(^\s*checksum\s*type\:).*" = "`${1} $($Latest.ChecksumType32)"
"(?i)(^\s*checksum64\:).*" = "`${1} $($Latest.Checksum64)"
}
".\tools\chocolateyInstall.ps1" = @{
"(?i)(^\s*[$]64bitExec\s*=\s*`"[$]toolsPath\\).*" = "`${1}$($Latest.FileName64)`""
}
".\$($Latest.PackageName).nuspec" = @{
"(?i)(^\s*\<releaseNotes\>).*(\<\/releaseNotes\>)" = "`${1}$($Latest.ReleaseNotes)`${2}"
}
Expand Down

0 comments on commit 4a94eb2

Please sign in to comment.