Skip to content

Conversation

jakobmoellerdev
Copy link
Contributor

What this PR does / why we need it

Sets Up Github Draft Releases that always publish the latest main build of the CLI to a draft release for testing. Take a look at https://github.com/jakobmoellerdev/open-component-model/releases/tag/untagged-f09e86dae1d88f19a9a5 where I ran the job right now on my fork!

Which issue(s) this PR fixes

Now we can finally start shipping the CLI to users who are not having go installed and just want to test our workflows

You might have noticed that a lot of changes in the Changelog are under fix. That is because renovate puts them up as fix(deps) thats why I now force renovate to always use chore(deps) instead for any future release

Signed-off-by: Jakob Möller <jakob.moeller@sap.com>
Signed-off-by: Jakob Möller <jakob.moeller@sap.com>
Signed-off-by: Jakob Möller <jakob.moeller@sap.com>
Signed-off-by: Jakob Möller <jakob.moeller@sap.com>
Signed-off-by: Jakob Möller <jakob.moeller@sap.com>
Signed-off-by: Jakob Möller <jakob.moeller@sap.com>
Signed-off-by: Jakob Möller <jakob.moeller@sap.com>
Signed-off-by: Jakob Möller <jakob.moeller@sap.com>
Signed-off-by: Jakob Möller <jakob.moeller@sap.com>
Signed-off-by: Jakob Möller <jakob.moeller@sap.com>
Signed-off-by: Jakob Möller <jakob.moeller@sap.com>
Signed-off-by: Jakob Möller <jakob.moeller@sap.com>
Signed-off-by: Jakob Möller <jakob.moeller@sap.com>
- Added `CGO_ENABLED=0` to disable CGO for a fully static binary.
- Updated `-ldflags` to include `-extldflags=-static -w -s` for reducing binary size and ensuring static linking.

Signed-off-by: Jakob Möller <jakob.moeller@sap.com>
@jakobmoellerdev jakobmoellerdev requested a review from a team as a code owner August 27, 2025 12:30
@github-actions github-actions bot added component/github-actions Changes on GitHub Actions or within `.github/` directory kind/feature new feature, enhancement, improvement, extension size/m Medium labels Aug 27, 2025
@fabianburth
Copy link
Contributor

The link is still not working, but besides that, looks alright to me!

@jakobmoellerdev
Copy link
Contributor Author

checked regarding the link, draft releases are not visible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/github-actions Changes on GitHub Actions or within `.github/` directory kind/feature new feature, enhancement, improvement, extension size/m Medium
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants