vscode-exts/bin/vsce_publish_all_packages

15 lines
265 B
Text
Raw Normal View History

2024-10-10 17:35:30 +03:00
#!/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