Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
The idea behind this is to setup a workflow that automatically:
DESCRIPTIONChangeLogNEWS.mdfile with information fromHISTORY.mdandinclude/ensmallen_bits/ens_version.hppautomatically.This uses heavily modified version of an upstream workflow action described at:
The main difference between both approaches is we use the embedded ensmallen version file to create a version string instead of maintaining a separate file in the repository that stores the version. Version information for the embedded ensmallen file is extracted using regular expressions using three different
grepstatements as I opted to avoid making a bash array. Additionally, there was work put into ensure the correct format for updatingChangeLogandNEWS.md.