summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-04-01 13:03:08 +0200
committerPatric Stout <github@truebrain.nl>2021-04-01 13:26:34 +0200
commit9639e7729719415fbc533c223a21827aaa3670f9 (patch)
tree67d741f4e873eec31cc0b21cf8f1e34f719a8b5a /.github/workflows
parentfece1c57cab1d148e15775f3e10ba474dcfc1360 (diff)
downloadopenttd-9639e7729719415fbc533c223a21827aaa3670f9.tar.xz
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.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/release.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 62f5498a2..84e8c17d9 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"