From a17b90ef5b6a454bca60fcc25462376951305c79 Mon Sep 17 00:00:00 2001 From: nilsnolde Date: Fri, 8 Mar 2024 22:45:04 +0100 Subject: [PATCH] one more fix to the new workflow --- .github/workflows/check_release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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."