diff --git a/.github/workflows/check_release.yml b/.github/workflows/check_release.yml index f1bd1ac..37c605b 100644 --- a/.github/workflows/check_release.yml +++ b/.github/workflows/check_release.yml @@ -22,9 +22,12 @@ jobs: git config user.name 'github-actions[bot]' git config user.email 'github-actions[bot]@users.noreply.github.com' - latest_vroom_tag="v1.15.0" #$(curl --silent -L -H "Accept: application/vnd.github+json" https://api.github.com/repos/VROOM-Project/vroom/tags | jq -r '.[0].name') + latest_vroom_tag=$(curl --silent -L -H "Accept: application/vnd.github+json" https://api.github.com/repos/VROOM-Project/vroom/tags | jq -r '.[0].name') latest_this_tag=$(git describe --tags --abbrev=0) + echo "Current tag: ${latest_this_tag}" + echo "VROOM latest tag: ${latest_vroom_tag}" + # first check vroom if [[ $latest_vroom_tag == $latest_this_tag ]]; then "All up-to-date."