Skip to content

Commit

Permalink
Update CommonToolUtilities.psm1
Browse files Browse the repository at this point in the history
  • Loading branch information
TinaMor authored Sep 4, 2024
1 parent ed79e43 commit 79e30af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions containers-toolkit/Private/CommonToolUtilities.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ $HASH_FUNCTIONS_STR = $HASH_FUNCTIONS -join '|' # SHA1|SHA256|SHA384|SHA512|MD5
$NERDCTL_CHECKSUM_FILE_PATTERN = "(?<hashfunction>(?:^({0})))" -f ($HASH_FUNCTIONS -join '|')
$NERDCTL_FILTER_SCRIPTBLOCK_STR = { (("{0}" -match "$NERDCTL_CHECKSUM_FILE_PATTERN") -and "{0}" -notmatch ".*.asc$") }.ToString()



function Get-LatestToolVersion($repository) {
try {
$uri = "https://api.github.com/repos/$repository/releases/latest"
Expand Down

0 comments on commit 79e30af

Please sign in to comment.