We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 108804c commit 4e2b61cCopy full SHA for 4e2b61c
1 file changed
src/base/.devcontainer/scripts/install_aws_sam_cli.sh
@@ -1,8 +1,9 @@
1
#!/usr/bin/env bash
2
set -euo pipefail
3
4
-VERSION=${VERSION:-"latest"}
5
-VERBOSE=${VERBOSE:-"true"}
+if [ "${VERSION}" = "latest" ]; then
+ VERSION="$(curl -fsSLI -o /dev/null -w '%{url_effective}' https://github.com/aws/aws-sam-cli/releases/latest | awk -F/ '{print $NF}')"
6
+fi
7
8
PRIMARY_PUBLIC_KEY="-----BEGIN PGP PUBLIC KEY BLOCK-----
9
Version: GnuPG v2.0.22 (GNU/Linux)
0 commit comments