From b9cf0ec148ad68a1b6281858d6766daa9fbfd356 Mon Sep 17 00:00:00 2001 From: FabianLars Date: Wed, 26 Apr 2023 16:20:42 +0200 Subject: [PATCH] ci: only sync tags of js packages. Fix tag syntax to covector's style --- .github/sync-to-mirrors.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/sync-to-mirrors.sh b/.github/sync-to-mirrors.sh index ab4405a7..52d4c27f 100755 --- a/.github/sync-to-mirrors.sh +++ b/.github/sync-to-mirrors.sh @@ -112,8 +112,8 @@ while read -r PLUGIN_NAME; do # Add new tags for FULL_TAG in "${COMMIT_TAGS[@]}"; do - if [[ "$FULL_TAG" =~ ^"tauri-plugin-$PLUGIN_NAME-" ]]; then - TAG_NAME="${FULL_TAG#"tauri-plugin-$PLUGIN_NAME-"}" + if [[ "$FULL_TAG" =~ ^"$PLUGIN_NAME-js-v" ]]; then + TAG_NAME="${FULL_TAG#"$PLUGIN_NAME-js-"}" echo "Creating tag $TAG_NAME" git tag "${TAG_NAME}" -m "${GIT_CLI_COMMIT_MESSAGE}" git push origin "${TAG_NAME}"