aboutsummaryrefslogtreecommitdiff
path: root/bin/vsce_publish_all_packages
diff options
context:
space:
mode:
authorAlexander <a.kiryukhin@vk.team>2024-10-10 17:35:30 +0300
committerAlexander <a.kiryukhin@vk.team>2024-10-10 17:35:30 +0300
commit79277335465f3a59460844bf322b5b1b07827a78 (patch)
tree2326523bd51ce7678c945b6eece8375beb903b53 /bin/vsce_publish_all_packages
initial
Diffstat (limited to 'bin/vsce_publish_all_packages')
-rwxr-xr-xbin/vsce_publish_all_packages14
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