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] Calculate next release version automatically #38607

Merged
merged 13 commits into from
Mar 18, 2025

Conversation

mowies
Copy link
Member

@mowies mowies commented Mar 13, 2025

Description

This PR uses github actions to calculate the next version based on the previous version and a new dropdown menu that replaces the manual input of versions into the workflow.

Link to tracking issue

Fixes #38395

Testing

Tested on my fork:
Minor bump: https://github.com/mowies/opentelemetry-collector-contrib/actions/runs/13835769403/job/38710269818
Pathc bump: https://github.com/mowies/opentelemetry-collector-contrib/actions/runs/13835768517/job/38710267005

Follow-ups

  • Update release process docs in otelcol-core repo

mowies added 10 commits March 13, 2025 13:24
Signed-off-by: Moritz Wiesinger <[email protected]>
Signed-off-by: Moritz Wiesinger <[email protected]>
Signed-off-by: Moritz Wiesinger <[email protected]>
Signed-off-by: Moritz Wiesinger <[email protected]>
Signed-off-by: Moritz Wiesinger <[email protected]>
Signed-off-by: Moritz Wiesinger <[email protected]>
Signed-off-by: Moritz Wiesinger <[email protected]>
Signed-off-by: Moritz Wiesinger <[email protected]>
Signed-off-by: Moritz Wiesinger <[email protected]>
Signed-off-by: Moritz Wiesinger <[email protected]>
@mowies mowies marked this pull request as ready for review March 13, 2025 14:17
@mowies mowies requested a review from a team as a code owner March 13, 2025 14:17
@mowies mowies requested a review from dashpole March 13, 2025 14:17
Copy link
Contributor

@atoulme atoulme left a comment

Choose a reason for hiding this comment

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

Approved. Just a couple changes related to moving from versions to hashes for github actions.

@atoulme atoulme merged commit 3d652e6 into open-telemetry:main Mar 18, 2025
171 checks passed
@github-actions github-actions bot added this to the next release milestone Mar 18, 2025
@mowies mowies deleted the version-dropdown branch March 19, 2025 06:55
bogdandrutu added a commit that referenced this pull request Mar 31, 2025
songy23 pushed a commit that referenced this pull request Apr 1, 2025
Reverts #38607

The problem is that the CURRENT_VERSION envs are prefixed with "v" and
nothing is working anymore.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[release] Automate input of release versions on prepare release workflow
3 participants