Repository navigation
Website: name the newest release and link straight to its installer - #54
Merged
Merged
Conversation
The download buttons and the version reset to GitHub's releases page and old fallback versions (0.4.1, 0.4.2) until the browser heard from GitHub, which allows 60 requests an hour from one address, so visitors could see an old version and no direct installer. site.js now starts from the newest release known when the page was published, with direct links to its installer and fil archives, and GitHub's answer replaces them only with a newer release. The Windows buttons carry the direct installer link in the page itself, and Google reads 0.4.4. To keep this current, the Pages deploy writes the latest release's version into the pages it publishes, and the release workflow starts that deploy once a release is complete.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 678f950fa3
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The site could show an old version and send people to the releases page instead of the installer. The download buttons and version reset to fallbacks (the releases page, and versions 0.4.1 and 0.4.2) until the visitor's browser heard back from GitHub's API, which allows 60 requests an hour from one address.
site.jsstarts from the newest release known when the page was published (KNOWN = '0.4.4'). It links straight to that release's installer andfilarchives, and fills in the version at once. GitHub's answer replaces these only when it names a newer release.docs.jsandhome.jsare gone.pages.ymlgets a step that writes the latest release's version intosite.js, the structured data and the installer links of the pages it deploys. The step is checked and does nothing if the tag isn't a version, and it changes only the deployed files, never main.release.ymlgains a last job that starts that deploy on main (gh workflow run pages.yml --ref main) once the installer and checksums are attached.Checked: