#!/bin/bash NEWVERSION=$(curl -s "https://gitlab.lakedrops.com/api/v4/projects/282/repository/tags?order_by=updated&search=^v" | jq -r .[0].name) if [[ "$NEWVERSION" == "$L3DVERSION" ]]; then return fi printf "%s" $NEWVERSION