Builds the Linux packages with CPack.
Generate them by running Conan with `--options:host "&:package=True"
--options:host "&:static=True"` then after the build you can run `cpack
.` in the build directory.
@mathbunnyru Where do you think this should be built? QA needs a package
per-commit.
@godexsoft What to do with the `config.json` and service file. I can
just remove them or strip the comment out but it still won't work out
the box with the default `rippled.cfg`. Relates to #2191.
---------
Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com>
…s to set version
Advantages:
- not modifying src dir in build time (`git clean` will also remove
less)
- simpler codecov (if we decide to move it to separate stage in the
future)
- The cpp file is perfectly valid, so it will be treated as a C++ files
by all the tooling
- No need to use CMAKE_PROJECT_INCLUDE_BEFORE, should work fine without
it
- Instead of generating + recompiling, we will just be doing
recompilation of 1 file
A release's version string should be a signed annotated tag which Clio
has generally been following.
Uses the date of the commit since that seems like a more useful item to
track to not have identical source builds have different version
strings.