about summary refs log tree commit diff
path: root/pkgs/tools/admin/pulumi/update.sh
diff options
context:
space:
mode:
authorAustin Butler <abutler@riotgames.com>2022-05-02 12:30:00 -0700
committerAustin Butler <abutler@riotgames.com>2022-05-02 12:30:00 -0700
commitfc00305708b4806837cb2ceb646a1b488158d87f (patch)
tree2832700f5edf5f050979c292bb8dbf27ec7b4251 /pkgs/tools/admin/pulumi/update.sh
parentf0707472e0ce961911491f0216159db6a3cece23 (diff)
pulumi-bin: 3.30.0 -> 3.31.0
Diffstat (limited to 'pkgs/tools/admin/pulumi/update.sh')
-rwxr-xr-xpkgs/tools/admin/pulumi/update.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/tools/admin/pulumi/update.sh b/pkgs/tools/admin/pulumi/update.sh
index 671a9875a6f1c..fadc64cf1dfef 100755
--- a/pkgs/tools/admin/pulumi/update.sh
+++ b/pkgs/tools/admin/pulumi/update.sh
@@ -8,9 +8,11 @@ if [ -z "${GITHUB_TOKEN}" ]; then
   exit 1
 fi
 
+SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
+
 # Version of Pulumi from
 # https://www.pulumi.com/docs/get-started/install/versions/
-VERSION="3.30.0"
+VERSION="3.31.0"
 
 # An array of plugin names. The respective repository inside Pulumi's
 # Github organization is called pulumi-$name by convention.
@@ -157,4 +159,4 @@ EOF
   echo "  };"
   echo "}"
 
-} > data.nix
+} > "${SCRIPT_DIR}/data.nix"