The removal of the version number is done by using one of the matched groups that comes from the regular expression, which only contains the function name.
Motivation and Context
We ran into an issue with publishing of the AWS Lambda, if a version number is present in the zip file name. This would mean that the publish can't happen, since the function name would not match exactly, what as present in AWS.
Testing
This has been tested locally, to ensure that the correct function name is displayed at the console output.
Change Types Made
[x] Bug fix (non-breaking change)
[ ] Feature / Enhancement (non-breaking change)
[ ] Breaking change (fix or feature that could cause existing functionality to change)
Description Of Changes
The removal of the version number is done by using one of the matched groups that comes from the regular expression, which only contains the function name.
Motivation and Context
We ran into an issue with publishing of the AWS Lambda, if a version number is present in the zip file name. This would mean that the publish can't happen, since the function name would not match exactly, what as present in AWS.
Testing
This has been tested locally, to ensure that the correct function name is displayed at the console output.
Change Types Made
Related Issue
Fixes #82
Change Checklist