aboutsummaryrefslogtreecommitdiff
path: root/bin/ovsx_publish_all_packages
blob: 42701f98a8b3c95bb10fe1a7a302aa857e55a1d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/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