The punch workflow
The way punch works can be summarized by the following workflow:
- The config file and the version file are read from the disk
- The current version is built according to the configuration of the parts (from the config file) and their actual values (from the version file)
- The new version is created incrementing the part requested by the user and changing the rest of the version accordingly
- Each file listed in the configuration file is opened, processed by each of the global or local serializers, replacing the old version with the new one
- The new version is written into the version file
- The VCS requested actions are executed