grass
grass copied to clipboard
[Feat] Packaging: include all version data in tarball
Is your feature request related to a problem? Please describe.
A number of Git connected data is needed for GRASS to identify itself in build/run time, e.g. GRASS_VERSION_GIT, GRASS_HEADERS_GIT_DATE and in addition release packages are accompanied by ´core_modules_with_last_commit` patches.
This has caused a number of problems, recently addressed with #3417.
Describe the solution you'd like
The data from Git are known at the time of packaging and may be included in the tarball, thus save us and others a lot of trouble.
The way to achieve this may be to create a simple textfile containing necessary information and include this file in release tarball. configure.ac need to be adopted to this and a Publishing workflow can be created (something similar to https://github.com/OSGeo/gdal-grass/blob/main/.github/workflows/publish.yml) which prepares the tarball and then publishes it.