sasjs / server

Build Apps on Base SAS
https://server.sasjs.io
MIT License
20 stars 3 forks source link

refactor zipped deploy to allow renames #211

Closed allanbowe closed 2 years ago

allanbowe commented 2 years ago

if downloading a SASjs build pack more than once, files are automatically renamed, eg filename(1).zip

rather than insist on a file with the same name as the zip, we should just check that the content is a single, valid, json file

Such that mysasdownload(3).zip would be a valid upload

saadjutt01 commented 2 years ago

In such case, let's use first .json file found in abc (123).zip, instead of current approach (i.e. pick same named .json)

ghost commented 2 years ago

:tada: This issue has been resolved in version 0.8.3 :tada:

The release is available on:

Your semantic-release bot :package::rocket: