summaryrefslogtreecommitdiff
path: root/azure-pipelines/templates/release-prepare-source.yml
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2019-04-07 12:01:32 +0200
committerglx22 <glx22@users.noreply.github.com>2020-06-05 19:36:05 +0200
commit4218ebc932950a8751146784ea5dad127bc27b10 (patch)
tree6483a0aad91205fed7c2adfec21699e1e55847b3 /azure-pipelines/templates/release-prepare-source.yml
parentb7643b1d36cb41eb6712042761c13b9819fcbe74 (diff)
downloadopenttd-4218ebc932950a8751146784ea5dad127bc27b10.tar.xz
Fix: [AzurePipelines] switch the CI / CD to CMake too
This also means dropping Debian/jessie, as it has a CMake that is too old (3.0), with no real path to upgrade.
Diffstat (limited to 'azure-pipelines/templates/release-prepare-source.yml')
-rw-r--r--azure-pipelines/templates/release-prepare-source.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/azure-pipelines/templates/release-prepare-source.yml b/azure-pipelines/templates/release-prepare-source.yml
index b20bf0b35..3eb148aef 100644
--- a/azure-pipelines/templates/release-prepare-source.yml
+++ b/azure-pipelines/templates/release-prepare-source.yml
@@ -17,7 +17,9 @@ steps:
git checkout -B ${BUILD_SOURCEBRANCHNAME}
fi
- ./findversion.sh > .ottdrev
+ # Generate .ottdrev, which contains the version information
+ cmake -DGENERATE_OTTDREV=1 -P cmake/scripts/FindVersion.cmake
+
./azure-pipelines/changelog.sh > .changelog
TZ='UTC' date +"%Y-%m-%d %H:%M UTC" > .release_date
cat .ottdrev | cut -f 1 -d$'\t' > .version