Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fixup release action versioning and notes process #1124

Conversation

jakobmoellerdev
Copy link
Contributor

What this PR does / why we need it

Makes sure that release notes are correctly drawn in and that we always have the version set correctly in our CTFs.

Which issue(s) this PR fixes

This fixes up the release action in 2 important ways:

  1. As part of the removal of the release notes we now no longer have a file to use for release notes to give to goreleaser. This means we have to temporarily create one
  2. While discovering this I noticed that the Component Versions that are built, are actually using the VERSION variable while EFFECTIVE_VERSION is a combination of VERSION+COMMIT by default. I didnt want to change this behavior originally, so now I started to use VERSION for the Makefiles (which also means I had to export them as settable). This now leads to correct CTF versions v0.19.0-rc.1 instead of v0.19.0-dev for example.

As such its a follow up from #1120 and #1077

@jakobmoellerdev jakobmoellerdev requested a review from a team as a code owner November 22, 2024 13:09
@github-actions github-actions bot added chore component/github-actions Changes on GitHub Actions or within `.github/` directory size/m Medium labels Nov 22, 2024
@jakobmoellerdev jakobmoellerdev force-pushed the chore/fixup-release-notes-and-versions branch 3 times, most recently from ac49421 to 853c57b Compare November 22, 2024 13:17
@github-actions github-actions bot added size/s Small and removed size/m Medium labels Nov 22, 2024
@hilmarf hilmarf added this to the 2024-Q4 milestone Nov 22, 2024
hilmarf
hilmarf previously approved these changes Nov 22, 2024
Copy link
Member

@hilmarf hilmarf left a comment

Choose a reason for hiding this comment

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

you're planning to get rid of the individual makefiles sooner or later, right?
Otherwise it might be worth thinking of using include ... ?

@jakobmoellerdev
Copy link
Contributor Author

jakobmoellerdev commented Nov 22, 2024

you're planning to get rid of the individual makefiles sooner or later, right?
Otherwise it might be worth thinking of using include ... ?

@hilmarf Currently unplanned, but we can create an issue for this so I can take care of it. I would really like to just get the releases working right now.

hilmarf
hilmarf previously approved these changes Nov 22, 2024
otherwise the components in the CTF will still be flagged as dev if used from the release flow
@jakobmoellerdev jakobmoellerdev merged commit 9ce2b87 into open-component-model:main Nov 22, 2024
19 checks passed
@hilmarf hilmarf added the kind/chore chore, maintenance, etc. label Nov 28, 2024
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/chore chore, maintenance, etc. size/s Small
Projects
Status: 🔒Closed
Development

Successfully merging this pull request may close these issues.

3 participants