mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
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:
parent
48191fc3ed
commit
b72cd2f882
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user