Remove timestamp from zipFileName

The timestamp is not necessary anymore as the zip file is uploaded into a timestamped
directory on S3.
This commit is contained in:
Philipp Muens 2016-08-20 20:26:46 +02:00
parent 48191fc3ed
commit b72cd2f882

View File

@ -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);