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.
This commit is contained in:
Patric Stout
2019-04-07 12:01:32 +02:00
committed by glx22
parent b7643b1d36
commit 4218ebc932
13 changed files with 117 additions and 94 deletions

View File

@@ -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