Support multi arch release by airycanon · Pull Request #78 · elastic/crd-ref-docs · GitHub
Skip to content

Support multi arch release#78

Merged
thbkrkr merged 3 commits into
elastic:masterfrom
airycanon:master
Jul 24, 2024
Merged

Support multi arch release#78
thbkrkr merged 3 commits into
elastic:masterfrom
airycanon:master

Conversation

@airycanon

@airycanon airycanon commented Apr 10, 2024

Copy link
Copy Markdown
Contributor

fix #57 #71

Changes:

  • add version info by cli option --version
  • using golreaser to build and upload release binary.

@airycanon

airycanon commented Apr 22, 2024

Copy link
Copy Markdown
Contributor Author

@thbkrkr

thbkrkr commented May 14, 2024

Copy link
Copy Markdown
Contributor

Thanks for taking care of this. I would prefer that we rely on goreleaser/goreleaser-action and also include the version in the binary like here: https://github.com/elastic/eck-diagnostics/blob/main/.github/workflows/release.yml. Could you follow the same approach?

@airycanon airycanon force-pushed the master branch 4 times, most recently from 4e527c9 to aabf3eb Compare May 16, 2024 03:26
@airycanon

airycanon commented May 16, 2024

Copy link
Copy Markdown
Contributor Author

Thanks for taking care of this. I would prefer that we rely on goreleaser/goreleaser-action and also include the version in the binary like here: https://github.com/elastic/eck-diagnostics/blob/main/.github/workflows/release.yml. Could you follow the same approach?

Thanks for the suggestion. I have already implemented it accordingly, here is a release sample:
https://github.com/airycanon/crd-ref-docs/releases/tag/v0.0.1

the version output:

$ ./crd-ref-docs --version
Version: v0.0.1, Commit: aabf3eb, BuildDate: 2024-05-16T03:28:28Z

@thbkrkr thbkrkr added the enhancement New feature or request label May 16, 2024
@airycanon airycanon mentioned this pull request Jul 17, 2024

@thbkrkr thbkrkr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left 2 small suggestions but otherwise LGTM!

Comment thread main.go Outdated
Comment thread main.go Outdated
airycanon and others added 2 commits July 24, 2024 10:53
Co-authored-by: Thibault Richard <thbkrkr@users.noreply.github.com>
Co-authored-by: Thibault Richard <thbkrkr@users.noreply.github.com>
@airycanon airycanon requested a review from thbkrkr July 24, 2024 07:01
@thbkrkr thbkrkr merged commit a178c7b into elastic:master Jul 24, 2024
@thbkrkr

thbkrkr commented Jul 25, 2024

Copy link
Copy Markdown
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add flag for reading binary version

2 participants