chocolatey / Chocolatey.Cake.Recipe

A set of convention based Cake scripts for building Chocolatey projects
Apache License 2.0
5 stars 9 forks source link

(#82) Remove version from function name if present #83

Closed gep13 closed 1 year ago

gep13 commented 1 year ago

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