-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
Description
Anytime we want to change the version, we need to change it in many places (aka https://en.wikipedia.org/wiki/Shotgun_surgery), e.g., https://github.com/IUPAC-InChI/InChI_Dev/commit/87e5b133d68a7a58cb9ac94c6f7d12e066b283ef. This is error prone and tedious.
Maybe we can think of a way to parametrize the version?
I.e., keep the version in a single place (e.g., global constant), and then reference that single source of truth in all places that need the version string.
We'd then only update the version in one place if we bump it.
The same goes for the header, see e.g., https://github.com/IUPAC-InChI/InChI_Dev/commit/ac71becc16e0e454ef75abdfb820c6c7a9d9de81.
Reactions are currently unavailable