Skip to content

Commit

Permalink
feat: delete from array when exist
Browse files Browse the repository at this point in the history
  • Loading branch information
vietchinh committed Sep 29, 2023
1 parent 3a2766b commit 40bef7d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-openwrt-lxd-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 40bef7d

Please sign in to comment.