Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
At time, the minor version is hardcoded in the crontab related to writing out the logs, e.g.:
grass-addons/utils/cronjobs_osgeo_lxd/cron_job_list_grass
Line 35 in 5a2e92d
A solution is needed to avoid future editing with every minor release.
The text was updated successfully, but these errors were encountered:
What about doing something like:
latest_release_branch=$(curl https://api.github.com/repos/osgeo/grass/branches | grep release | grep '"name":' | cut -f4 -d'"' | tail -n 1)
in the build script an then fetching major and minor version from the branch name?
GMAJOR=$(echo $latest_release_branch | cut -f2 -d"_") GMINOR=$(echo $latest_release_branch | cut -f3 -d"_")
I can open a PR, if you think building upon the GitHub API is a good move...
A PR would be appreciated!
At time, the minor version is hardcoded in the crontab related to writing out the logs, e.g.:
grass-addons/utils/cronjobs_osgeo_lxd/cron_job_list_grass
Line 35 in 5a2e92d
A solution is needed to avoid future editing with every minor release.
The text was updated successfully, but these errors were encountered: