vscode-exts/bin/ovsx_publish_all_packages

20 lines
464 B
Text
Raw Permalink Normal View History

2024-10-10 17:35:30 +03:00
#!/usr/bin/env sh
# 2021-08-28:
# publishing an extension package with at least one unpublished extension fails
# most of the packaged extensions are not published in the Open VSX registry
# let's fail silently =(
# 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}"
ovsx_publish_package_when_outdated
cd "${ROOT_DIR}"
done