From 935debbf6f4eb63cbb5be2238fe1cae91c524e73 Mon Sep 17 00:00:00 2001 From: Patric Stout Date: Thu, 1 Apr 2021 13:03:08 +0200 Subject: [PATCH] Fix: [Actions] "is-tag" variable is the 5th element, not 6th The 6th is "is-stable-tag", but it is currently broken in meaning. Betas and RCs are considered "stable", but final releases are not. This is the reason it was working for RC1, but not for the final release. --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 62f5498a2e..84e8c17d98 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -96,7 +96,7 @@ jobs: TZ='UTC' date +"%Y-%m-%d %H:%M UTC" > .release_date cat .ottdrev | cut -f 1 -d$'\t' > .version - if [ $(cat .ottdrev | cut -f 6 -d$'\t') = '1' ]; then + if [ $(cat .ottdrev | cut -f 5 -d$'\t') = '1' ]; then # Assume that all tags are always releases. Why else make a tag? IS_TAG="true"