aboutsummaryrefslogtreecommitdiff
path: root/bin/vsce_publish_all_packages
blob: 44ef557124af168f2bb0020ab8ae0cb734d186ab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env sh
set -e

PATH_TO_THIS_SCRIPT=$(realpath "$0")
BIN_DIR=$(dirname "${PATH_TO_THIS_SCRIPT}")
ROOT_DIR=$(dirname "${BIN_DIR}")

for PACKAGE in "${ROOT_DIR}/extensions/"*; do
	cd "${PACKAGE}"

	vsce_publish_package_when_outdated

	cd "${ROOT_DIR}"
done