Skip to content

Commit e9af42b

Browse files
author
Alireza
authored
Merge pull request #55 from developmentseed/v2.0.3
add support for symlink
2 parents 7a642bc + 807a452 commit e9af42b

3 files changed

Lines changed: 16 additions & 2 deletions

File tree

CHANGELOG

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
## v2.0.3
2+
3+
- support symlink for lambda zipping
4+
5+
## v2.0.2
6+
7+
- only zip lambdas that are not already zipped
8+
update examples
9+
10+
## v2.0.1
11+
12+
- only zip lambdas that are not already zipped
13+
- update examples
14+
115
## v2.0.0
216
- Use native nodejs compression to zip lambda packages
317
- Update how lambda packages are compressed (this is a breaking change that requires updating handler and source)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "kes",
3-
"version": "2.0.2",
3+
"version": "2.0.3",
44
"description": "Making deployment to AWS using CloudFormation easier and fun",
55
"scripts": {
66
"html-docs": "documentation build bin/cli.js -f html -o _docs --theme node_modules/documentation-devseed-theme",

src/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ function zip(zipFile, srcList, dstPath) {
5252
if (stat.isFile()) {
5353
archive.file(src);
5454
}
55-
else if (stat.isDirectory()) {
55+
else if (stat.isDirectory() || stat.isSymbolicLink()) {
5656
archive.directory(src, dstPath);
5757
}
5858
else {

0 commit comments

Comments
 (0)