Skip to content

Commit

Permalink
Update release script.
Browse files Browse the repository at this point in the history
  • Loading branch information
gebner committed Sep 14, 2022
1 parent d62eece commit 65d0a0c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 65d0a0c

Please sign in to comment.