From b72cd2f882ce79c2165688eec3da4082e33bab2c Mon Sep 17 00:00:00 2001 From: Philipp Muens Date: Sat, 20 Aug 2016 20:26:46 +0200 Subject: [PATCH] Remove timestamp from zipFileName The timestamp is not necessary anymore as the zip file is uploaded into a timestamped directory on S3. --- lib/plugins/package/lib/zipService.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/plugins/package/lib/zipService.js b/lib/plugins/package/lib/zipService.js index f746eb308..26e056d4d 100644 --- a/lib/plugins/package/lib/zipService.js +++ b/lib/plugins/package/lib/zipService.js @@ -33,8 +33,7 @@ module.exports = { ]); const include = this.serverless.service.package.include || []; - const timeString = (new Date()).getTime().toString(); - const zipFileName = `${this.serverless.service.service}-${timeString}.zip`; + const zipFileName = `${this.serverless.service.service}.zip`; this.serverless.utils.walkDirSync(servicePath).forEach((filePath) => { const relativeFilePath = path.relative(servicePath, filePath);