openshift / kube-compare

A Kubectl plugin to allow to compare a known valid reference configuration and a set of specific cluster configuration CRs.
Apache License 2.0
8 stars 8 forks source link

Add release endpoint to Makefile #13

Closed AlinaSecret closed 1 month ago

AlinaSecret commented 1 month ago

This commit adds the release and release-dry-run endpoints to the Makefile. These endpoints use Goreleaser to build the compare binary for different architectures and platforms. The release-dry-run endpoint only builds the binaries, creates the archives, and generates the release notes. The release endpoint also uploads the release to GitHub. The release notes contain a list of all the changes from the previous tag to the newest tag.

AlinaSecret commented 1 month ago

/cc @pixelsoccupied /cc @imiller0

here is an example to how it looks from my fork: https://github.com/AlinaSecret/kube-compare/releases/tag/v1.0.0 (because of the mergebot we have the merge commits in the change log, its very fast to remove them manually from the release notes so for now i think there is no need to spend time on doing it automatically)

openshift-ci[bot] commented 1 month ago

@AlinaSecret: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes-sigs/prow](https://github.com/kubernetes-sigs/prow/issues/new?title=Prow%20issue:) repository. I understand the commands that are listed [here](https://go.k8s.io/bot-commands).
pixelsoccupied commented 1 month ago

/lgtm /approve

openshift-ci[bot] commented 1 month ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: pixelsoccupied

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/openshift/kube-compare/blob/main/OWNERS)~~ [pixelsoccupied] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment