OpenSearch-Dashboards icon indicating copy to clipboard operation
OpenSearch-Dashboards copied to clipboard

[Enhancement] Add Windows Specific Parameters for just Windows builds

Open peterzhuamazon opened this issue 3 years ago • 0 comments

As of now there is no specific params to build windows-only archives.

build the OpenSearch Dashboards distributable

options:
  --skip-archives         Don't produce tar/zip archives
  --skip-os-packages      Don't produce rpm/deb/docker packages
  --all-platforms         Produce archives for all platforms, not just this one
  --linux                 Produce archives for only linux x64 platform
  --linux-arm             Produce archives for only linux arm64 platform
  --darwin                Produce archives for only darwin x64 platform
  --rpm                   Only build the rpm package
  --deb                   Only build the deb package
  --docker                Only build the docker image
  --skip-docker-ubi       Don't build the docker ubi image
  --release               Produce a release-ready distributable
  --version-qualifier     Suffix version with a qualifier
  --skip-node-download    Reuse existing downloads of node.js
  --verbose,-v            Turn on verbose logging
  --no-debug              Turn off debug logging

I am using this comment right now to build all platforms then only take windows. % yarn build-platform --all-platforms --skip-os-packages --release

It would be really helpful to build only the windows version and also reduce the amount of build time.

Thanks.

peterzhuamazon avatar Oct 07 '22 20:10 peterzhuamazon