softprops / serverless-rust

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

Fix file permissions when zipping #103

Closed marijnhurkens closed 2 years ago

marijnhurkens commented 2 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.