Skip to content
This repository has been archived by the owner on Dec 31, 2021. It is now read-only.

Commit

Permalink
Skip hash check for nightly versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Ash258 committed Jan 2, 2020
1 parent 77d9102 commit 3f5e416
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/Action/PR.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -171,14 +171,16 @@ function Test-PRFile {
#endregion 1. Property checks

#region 2. Hashes
Write-Log 'Hashes'
$outputH = @(& (Join-Path $BINARIES_FOLDER 'checkhashes.ps1') -App $manifest.Basename -Dir $MANIFESTS_LOCATION *>&1)
Write-Log 'Output' $outputH
if ($object.version -ne 'nightly') {
Write-Log 'Hashes'
$outputH = @(& (Join-Path $BINARIES_FOLDER 'checkhashes.ps1') -App $manifest.Basename -Dir $MANIFESTS_LOCATION *>&1)
Write-Log 'Output' $outputH

# Everything should be all right when latest string in array will be OK
$statuses.Add('Hashes', ($outputH[-1] -like 'OK'))
# Everything should be all right when latest string in array will be OK
$statuses.Add('Hashes', ($outputH[-1] -like 'OK'))

Write-Log 'Hashes done'
Write-Log 'Hashes done'
}
#endregion 2. Hashes

#region 3. Checkver and 4. Autoupdate
Expand Down

0 comments on commit 3f5e416

Please sign in to comment.