vscode-exts/bin/vsce_publish_all_packages
2024-10-10 17:35:30 +03:00

14 lines
265 B
Bash
Executable file

#!/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