Add $basename variable

This commit is contained in:
Richard Kuhnt
2017-05-26 16:18:26 +02:00
parent 29329cd3a1
commit 9bf042f8a9
+1
View File
@@ -100,6 +100,7 @@ function get_hash_for_app([String] $app, $config, [String] $version, [String] $u
$hashfile_url = substitute $config.url @{
'$url' = (strip_fragment $url);
'$baseurl' = (strip_filename (strip_fragment $url)).TrimEnd('/')
'$basename' = $basename
}
$hashfile_url = substitute $hashfile_url $substitutions
write-host -f yellow $hashfile_url