git_tag: Allow glob matching, multiple branch tracking
Mitigates #22 (closed) to a degree.
- Adds
matchandexcludeattributes to source config for git_tag, which are lists of glob patterns. The plugin then usesgit describe's--matchand--excludearguments to restrict the tags which are tracked to. - Adds a
track-extraattribute, a list of branches/tags to be tracked in addition to thetrackparameter, and updates the ref to the latest valid commit on either. This is intended to be used mainly in conjunction withtrack-tagsin the event that upstream uses two branches - one for a current release and master.
Edited by Tom Coldrick