Closed
Description
We use the last commit date of a repository to build artifact names on Jenkins.
Currently we extract it with git log -1 --format=COMMIT_DATE=%%cd --date=format:%%Y%%m%%d > gitdate.prop
and inject it later on.
We now plan to use gitversion for calculating version numbers. In this step it would be perfect if we could replace our current step to get the date with gitversion as well, but we need it formatted without dashes.
Any chance to add a configuration parameter commit-date-format so that one can customize the output of gitversion?
Metadata
Metadata
Assignees
Labels
No labels