DO NOT MERGE: Have release-tagged versions use the proper catalog for their release. #1987
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
At least twice now, users have reported trying to build a release from source by checking out the release's tag (or downloading one of github's "release" bundles). The result is a build that has, say, a 6.12 main repo, and tries to get the latest version of packages from pkgs.r-l.org, which (usually) won't work.
A likely better solution would have to have release-tagged branches default to using the release catalog from the appropriate release. This is what the change in this commit would do.
So the idea would be to add a similar commit (with the appropriate version number) to release branches (which get turned into version tags) as the release is finalized. Such commits would never find their way to master (as they shouldn't).
If that solution has legs (and won't break anything else), I'll add it to our release scripts.
[cc: @samth, @endobson ]