softprops / serverless-rust

⚡ 🦀 a serverless framework plugin for rustlang applications
https://www.npmjs.com/package/serverless-rust
MIT License
548 stars 82 forks source link

Fix file permissions when zipping #103

Closed marijnhurkens closed 3 years ago

marijnhurkens commented 3 years ago

What did you implement:

Set the correct attributes when zipping the build. After this fix the output from unzip -Zv my-build.zip is:

  non-MSDOS external file attributes:             075500 hex
  MS-DOS file attributes (00 hex):                none

Should fix: #102

How did you verify your change:

I can now run my function locally on MacOs.