serverless-plugin-git-variables
serverless-plugin-git-variables copied to clipboard
Support adding `-match <pattern>` when calling git describe
Sometimes we deploy the same commit to different environments using tags, and git:describeLight
seems to pick up the wrong tag from time to time.
git
itself provides a way to filter the tag returned by using --match <pattern>
, I wonder if it is possible to support this through custom.gitDescribeMatchPattern: <pattern>
?