opensearch-project / opensearch-cli

A full-featured command line interface (CLI) for OpenSearch.
https://opensearch.org/docs/latest/clients/cli/
Apache License 2.0
44 stars 24 forks source link

Update build and release script #91

Closed VachaShah closed 1 year ago

VachaShah commented 1 year ago

Description

Came across this when we started the release: GoReleaser removed archives.replacements field https://goreleaser.com/deprecations/#archivesreplacements - so it needs to be updated to new format.

Also replacing --rm-dist with --clean for goreleaser command.

Issues Resolved

https://github.com/opensearch-project/opensearch-build/issues/4185

Check List

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

codecov[bot] commented 1 year ago

Codecov Report

Merging #91 (e09ca85) into main (0cf92aa) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #91   +/-   ##
=======================================
  Coverage   64.60%   64.60%           
=======================================
  Files          32       32           
  Lines        2328     2328           
=======================================
  Hits         1504     1504           
  Misses        716      716           
  Partials      108      108           
Flag Coverage Δ
opensearch-cli 64.60% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.