Skip to content

Commit

Permalink
Merge pull request #6 from devcontainers-extra/fix/azure-apiops
Browse files Browse the repository at this point in the history
fix(azure-apiops): update regex for assets
  • Loading branch information
koralowiec authored Sep 13, 2024
2 parents c0eb634 + cadfcf0 commit 164e085
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions src/azure-apiops/install.sh
Original file line number Diff line number Diff line change
@@ -1,31 +1,24 @@

set -e

. ./library_scripts.sh

# nanolayer is a cli utility which keeps container layers as small as possible
# source code: https://github.com/devcontainers-contrib/nanolayer
# `ensure_nanolayer` is a bash function that will find any existing nanolayer installations,
# and if missing - will download a temporary copy that automatically get deleted at the end
# `ensure_nanolayer` is a bash function that will find any existing nanolayer installations,
# and if missing - will download a temporary copy that automatically get deleted at the end
# of the script
ensure_nanolayer nanolayer_location "v0.5.4"


$nanolayer_location \
install \
devcontainer-feature \
"ghcr.io/devcontainers-contrib/features/gh-release:1.0.23" \
--option repo='Azure/apiops' --option binaryNames='extractor' --option assetRegex='^extractor.linux-x64.exe' --option version="$VERSION"


--option repo='Azure/apiops' --option binaryNames='extractor' --option assetRegex='^extractor-linux-x64.zip' --option version="$VERSION"

$nanolayer_location \
install \
devcontainer-feature \
"ghcr.io/devcontainers-contrib/features/gh-release:1.0.23" \
--option repo='Azure/apiops' --option binaryNames='publisher' --option assetRegex='^publisher.linux-x64.exe' --option version="$VERSION"


--option repo='Azure/apiops' --option binaryNames='publisher' --option assetRegex='^publisher-linux-x64.zip' --option version="$VERSION"

echo 'Done!'

0 comments on commit 164e085

Please sign in to comment.