Skip to content

Commit

Permalink
checkver: Allow using the current version in checkver URL
Browse files Browse the repository at this point in the history
  • Loading branch information
r15ch13 committed Sep 14, 2018
1 parent fb58e92 commit 607ac9c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/checkver.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ $queue | ForEach-Object {

$reverse = $json.checkver.reverse -and $json.checkver.reverse -eq "true"

$substitutions = get_version_substitutions $json.version
$url = substitute $url $substitutions

$state = new-object psobject @{
app = (strip_ext $name);
url = $url;
Expand Down

0 comments on commit 607ac9c

Please sign in to comment.