Hey @paladini, really sorry for the late reply.
If you're creating an install package you might want to check out this project: https://github.com/trashcan/mattermost-packager
It's a project designed to automatically build packages for Mattermost, so it might be helpful for you.
Also, please consider joining the installers channel on the core team server.