From 65d0a0c52bacdf46f8f47dace9ced0fa7b17d339 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Wed, 14 Sep 2022 13:38:10 +0200 Subject: [PATCH] Update release script. --- release.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/release.sh b/release.sh index 03e6b66..73c1800 100755 --- a/release.sh +++ b/release.sh @@ -9,6 +9,11 @@ if [ -z "$OVSX_PAT" ]; then export OVSX_PAT fi +if [ -z "$VSCE_PAT" ]; then + VSCE_PAT="$(pass pat/vsce)" || exit 1 + export VSCE_PAT +fi + set -ex new_version="$1" sed -i 's/"version": ".*"/"version": "'$new_version'"/' package.json