serverless-plugin-git-variables icon indicating copy to clipboard operation
serverless-plugin-git-variables copied to clipboard

Support adding `-match <pattern>` when calling git describe

Open hfhchan-plb opened this issue 11 months ago • 0 comments

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>?

hfhchan-plb avatar Mar 07 '24 10:03 hfhchan-plb