Skip to content

Conversation

@federicobucchi
Copy link
Member

Motivation:

Some links give 404

Result:

Links are fixed

Copy link
Member

@alexandersandberg alexandersandberg left a comment

Choose a reason for hiding this comment

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

What's the fix here? It looks like a variable is just being renamed?

The links seem to work for me already as well. Where exactly are they broken?

@federicobucchi
Copy link
Member Author

What's the fix here? It looks like a variable is just being renamed?

The links seem to work for me already as well. Where exactly are they broken?

If you try Development Snapshots in https://www.swift.org/install/linux/debian/12/ clicking on Download (x86_64) it gives 404. In the url there is -aarch64.

This is happening because the import of {% include install/_older-releases.md platform=include.platform %} uses the same variable name that happends -aarch64.

Changing the name, we avoid the conflict

Copy link
Member

@alexandersandberg alexandersandberg left a comment

Choose a reason for hiding this comment

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

Ah, I see! Appreciate the additional detail. Fix looks good 👍

@federicobucchi federicobucchi merged commit f9c9ef4 into main Jun 9, 2025
4 checks passed
@federicobucchi federicobucchi deleted the fb/fix-404-link branch June 9, 2025 20:08
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