diff options
Diffstat (limited to 'bin/vsce_publish_all_packages')
-rwxr-xr-x | bin/vsce_publish_all_packages | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/bin/vsce_publish_all_packages b/bin/vsce_publish_all_packages new file mode 100755 index 0000000..44ef557 --- /dev/null +++ b/bin/vsce_publish_all_packages @@ -0,0 +1,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 |