From 40bef7de1923d532778e432078a4a7dede19e7b4 Mon Sep 17 00:00:00 2001 From: vietchinh <1348151+vietchinh@users.noreply.github.com> Date: Fri, 29 Sep 2023 04:33:59 +0200 Subject: [PATCH] feat: delete from array when exist --- .github/workflows/build-openwrt-lxd-images.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-openwrt-lxd-images.yml b/.github/workflows/build-openwrt-lxd-images.yml index 9e20ee7..b900f27 100644 --- a/.github/workflows/build-openwrt-lxd-images.yml +++ b/.github/workflows/build-openwrt-lxd-images.yml @@ -22,6 +22,7 @@ jobs: do if git show-ref --tags --verify --quiet "refs/tags/${version}"; then echo "Tag ${version} exists" + jq del(.Array[${version}]) else echo "Tag ${version} does not exist" fi;