# How to generate a windows-target package (zip file) from source code

**URL:** <https://community.grafana.com/t/how-to-generate-a-windows-target-package-zip-file-from-source-code/35348>\
**Category:** Grafana\
**Created:** [August 19, 2020, 8:29am UTC](https://community.grafana.com/t/how-to-generate-a-windows-target-package-zip-file-from-source-code/35348 "2020-08-19T08:29:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![phineasjiang](https://avatars.discourse-cdn.com/v4/letter/p/d2c977/32.png) [@phineasjiang](https://community.grafana.com/u/phineasjiang)\
**Post date:** [August 19, 2020, 8:29am UTC](https://community.grafana.com/t/how-to-generate-a-windows-target-package-zip-file-from-source-code/35348/1 "2020-08-19T08:29:47Z")

</div>

I’m working on Windows OS and try to build Grafana windows version. The build task in Makefile works fine, and I saw the build result grafana-server.exe was generated under bin folder.  
While I have no idea how to package them to a zip package, like what we can download from official: [https://grafana.com/grafana/download?platform=windows](https://grafana.com/grafana/download?platform=windows)  
There’s no such a command in Makefile. Except grafana-server.exe & grafana-cli.exe, there’re many other files need to be included to the package, but I can’t find a docuement to tell me how to do this, which files should be included.

Can you help me? How grafana team did the windows packing in each release?

Best Regards
