Add version check to CI #497
Labels
continuous integration
Continuous integration
easy hacks
The solution is expected to be straightforward even if you are new to the project
help wanted
An important and awaited task but we have no human resources for it yet
Milestone
We already have CI check that the code is properly formatted:
check-formatting.sh
.It would be nice to add
check-version.sh
, which would verify that version declared in src/public_api/include/roc/version.h is similar as the latest git tag reported bygit describe --tags --abbrev=0
.This check should be run only when running CI build for tags that match
v*
.We already have a script to parse version from header, which we can use in this check:
scripts/scons_helpers/parse-version.py
.Github workflow is here: https://github.com/roc-streaming/roc-toolkit/blob/master/.github/workflows/build.yml
The text was updated successfully, but these errors were encountered: