Skip to content

Commit c1f9d81

Browse files
author
joshuat
committed
Naming packages does nothing for lambda
1 parent 90390ef commit c1f9d81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ New-Item .\package\temp\index.js -type file -f
1616

1717
get-content .\config\$environmentFile,".\index.js" | set-content ".\package\temp\index.js"
1818

19-
$version = Read-Host -Prompt 'What version of the application are you deploying?'
19+
$packageName = "LambdaFunction"
2020

21-
$destination = $currentdir + "\package\" + $version + ".zip"
21+
$destination = $currentdir + "\package\" + $packageName + ".zip"
2222

2323
Add-Type -assembly "system.io.compression.filesystem"
2424
[io.compression.zipfile]::CreateFromDirectory($currentdir + "\package\temp", $destination)

0 commit comments

Comments
 (0)