From 6482a480996c213523dc7cb65f8e4669f97497db Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Tue, 2 Mar 2021 20:05:35 +0000 Subject: [PATCH] Github: Adjust version file info in release workflow --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c921fe259d..14954119a1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -94,9 +94,9 @@ jobs: cmake -DGENERATE_OTTDREV=1 -P cmake/scripts/FindVersion.cmake ./.github/changelog.sh > .changelog TZ='UTC' date +"%Y-%m-%d %H:%M UTC" > .release_date - cat .ottdrev | cut -f 1 -d$'\t' > .version + head -1 .ottdrev-vc | cut -f 1 -d$'\t' > .version - if [ $(cat .ottdrev | cut -f 6 -d$'\t') = '1' ]; then + if [ $(head -1 .ottdrev-vc | cut -f 6 -d$'\t') = '1' ]; then # Assume that all tags are always releases. Why else make a tag? IS_TAG="true"