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

More release automation #5419

Closed
wants to merge 1 commit into from
Closed

More release automation #5419

wants to merge 1 commit into from

Conversation

trask
Copy link
Member

@trask trask commented Feb 22, 2022

No description provided.

@trask trask requested a review from a team February 22, 2022 03:01

- name: Bump download link version
run: |
sed -Ei "s,https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/download/v[0-9]+.[0-9]+.[0-9]+/,https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/download/v${{ needs.release.outputs.release-version }}/," README.md
Copy link
Contributor

Choose a reason for hiding this comment

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

Was wondering whether for main branch it doesn't make sense to just use latest

Copy link
Member Author

Choose a reason for hiding this comment

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

I think that makes sense, it does revert the decision in #4774, but we've recently decided that main docs reflect SNAPSHOT state anyways (for some reason those things connect for me, even though I'm not sure they really do)

@trask
Copy link
Member Author

trask commented Mar 4, 2022

@mateuszrzeszutek is your approval a vote to stay with versioned download link on README.md vs using latest?

@mateuszrzeszutek
Copy link
Member

I think it makes slightly more sense to have versioned links -- READMEs on release branches and tags (that stem out from main) should have proper versions then.

@trask
Copy link
Member Author

trask commented Mar 4, 2022

oh, I was not clear, @anuraaga's proposal is to keep versioned links on the tags, only using latest link on main (which would eliminate the need for bumping the version on main)

@mateuszrzeszutek
Copy link
Member

Oh, so we'll replace the latest link with versioned link when the branch is cut? In that case, using latest seems to be a better choice 👍

@trask
Copy link
Member Author

trask commented Mar 4, 2022

Closing, will send new PR to change to latest link on main branch, and update the release branch automation as needed for that change.

@trask trask closed this Mar 4, 2022
@trask trask deleted the more-release-automation branch March 4, 2022 22:28
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.

3 participants