···3# shellcheck shell=bash
4# Bash 3 compatible for Darwin
56-if [ -z "${GITHUB_TOKEN}" ]; then
7- echo >&2 "usage: GITHUB_TOKEN=… ./update.sh"
8 exit 1
9fi
10···1213# Version of Pulumi from
14# https://www.pulumi.com/docs/get-started/install/versions/
15-VERSION="3.49.0"
1617# An array of plugin names. The respective repository inside Pulumi's
18# Github organization is called pulumi-$name by convention.
···3# shellcheck shell=bash
4# Bash 3 compatible for Darwin
56+if [ -z "${GITHUB_TOKEN}" ] || [ $# -ne 1 ]; then
7+ echo >&2 "usage: GITHUB_TOKEN=… ./update.sh pulumi-version"
8 exit 1
9fi
10···1213# Version of Pulumi from
14# https://www.pulumi.com/docs/get-started/install/versions/
15+VERSION=$1
1617# An array of plugin names. The respective repository inside Pulumi's
18# Github organization is called pulumi-$name by convention.