Release archive same as nextcloud download page

Hi,

Reading the documentation about releasing version: Release process — Nextcloud latest Developer Manual latest documentation

Everything is explained, but is there somewhere a script to create exactly the same release archive as nextcloud itself ?

I am looking for the one that creates the archive which can be found on the nextcloud download page (Community Projects → Archive → Get ZIP file):
https://nextcloud.com/install/
And not on GitHub release page (not stripped from all development files).

Thanks in advance !