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

Do not set docs source_ref to -latest tags #14065

Merged
merged 2 commits into from
Dec 12, 2024

Conversation

wojtekmach
Copy link
Member

Prior to this we had a regression, the source link was using the tag as seen as the bottom of the screen:

image

Makefile Outdated
@@ -176,7 +176,9 @@ clean_elixir:

#==> Documentation tasks

SOURCE_REF = $(shell tag="$(call GIT_TAG)" revision="$(call GIT_REVISION)"; echo "$${tag:-$$revision}")
SOURCE_REF = $(shell tag="$(call GIT_TAG)"; revision="$(call GIT_REVISION)"; \
Copy link
Member

Choose a reason for hiding this comment

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

Why not change GIT_TAG itself?

I think we can pipe the result of that to grep before we get the tail? We could also change which part of the tail we get.

Copy link
Member Author

Choose a reason for hiding this comment

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

Good call, done!

@josevalim josevalim merged commit eaf7123 into elixir-lang:main Dec 12, 2024
9 checks passed
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants