Skip to content

Commit f11a9d7

Browse files
authored
Merge pull request #196 from jgarber623/patch-1
Add `assetRegex` option to shellcheck Feature
2 parents 417e799 + 83550b6 commit f11a9d7

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/shellcheck/devcontainer-feature.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "shellcheck",
3-
"version": "1.0.0",
3+
"version": "1.1.0",
44
"name": "shellcheck (via Github Releases)",
55
"documentationURL": "http://github.com/devcontainers-extra/features/tree/main/src/shellcheck",
66
"description": "",
@@ -15,4 +15,4 @@
1515
}
1616
},
1717
"installsAfter": []
18-
}
18+
}

src/shellcheck/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ $nanolayer_location \
1616
install \
1717
devcontainer-feature \
1818
"ghcr.io/devcontainers-extra/features/gh-release:1" \
19-
--option repo='koalaman/shellcheck' --option binaryNames='shellcheck' --option version="$VERSION"
19+
--option repo='koalaman/shellcheck' --option binaryNames='shellcheck' --option version="$VERSION" --option assetRegex='shellcheck-.*.tar.xz$'
2020

2121
echo 'Done!'

0 commit comments

Comments
 (0)