Skip to content

Commit 8e463a9

Browse files
committed
Fix Infisical download URL
1 parent a35b3f5 commit 8e463a9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/infisical-cli/devcontainer-feature.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "infisical-cli",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"name": "Infisical CLI",
55
"documentationURL": "https://github.com/skriptfabrik/devcontainer-features/tree/main/src/infisical-cli",
66
"description": "Installs Infisical CLI.",

src/infisical-cli/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ rm -rf /var/lib/apt/lists/*
2828

2929
# Fetch latest version if needed
3030
if [ "${CLI_VERSION}" = "latest" ]; then
31-
CLI_VERSION=$(curl -s https://api.github.com/repos/infisical/infisical/releases/latest | jq -r '.tag_name' | awk '{print substr($1, 16)}')
31+
CLI_VERSION=$(curl -s https://api.github.com/repos/infisical/cli/releases/latest | jq -r '.tag_name' | awk '{print substr($1, 2)}')
3232
fi
3333

3434
# Detect current machine architecture
@@ -40,7 +40,7 @@ fi
4040

4141
# DEB package and download URL
4242
DEB_PACKAGE="infisical_${CLI_VERSION}_linux_${ARCH}.deb"
43-
DOWNLOAD_URL="https://github.com/Infisical/infisical/releases/download/infisical-cli/v${CLI_VERSION}/${DEB_PACKAGE}"
43+
DOWNLOAD_URL="https://github.com/Infisical/cli/releases/download/v${CLI_VERSION}/${DEB_PACKAGE}"
4444

4545
# Download and install infisical-cli
4646
echo "Downloading infisical-cli from ${DOWNLOAD_URL}"

0 commit comments

Comments
 (0)