From cadfcf05e2bd958330f8f1d1f645bafc2a2772a3 Mon Sep 17 00:00:00 2001 From: koralowiec <36413794+koralowiec@users.noreply.github.com> Date: Fri, 13 Sep 2024 10:18:50 +0000 Subject: [PATCH] fix(azure-apiops): update regex for assets --- src/azure-apiops/install.sh | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/src/azure-apiops/install.sh b/src/azure-apiops/install.sh index 87df867b1..8122e7e1d 100755 --- a/src/azure-apiops/install.sh +++ b/src/azure-apiops/install.sh @@ -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!' -