Skip to content

Commit 4e2b61c

Browse files
committed
fix
1 parent 108804c commit 4e2b61c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/base/.devcontainer/scripts/install_aws_sam_cli.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
#!/usr/bin/env bash
22
set -euo pipefail
33

4-
VERSION=${VERSION:-"latest"}
5-
VERBOSE=${VERBOSE:-"true"}
4+
if [ "${VERSION}" = "latest" ]; then
5+
VERSION="$(curl -fsSLI -o /dev/null -w '%{url_effective}' https://github.com/aws/aws-sam-cli/releases/latest | awk -F/ '{print $NF}')"
6+
fi
67

78
PRIMARY_PUBLIC_KEY="-----BEGIN PGP PUBLIC KEY BLOCK-----
89
Version: GnuPG v2.0.22 (GNU/Linux)

0 commit comments

Comments
 (0)