Repository navigation
Conversation
…d link /releases/latest/download/<name> only works when the asset name is the same in every release. The versioned zip stays for the plugin's updater.
This branch has not been deployed
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.
Why
The website's download button needs one address that always serves the newest release. GitHub provides that with
https://github.com/wpscholar/agent-studio/releases/latest/download/<asset>, but only if the asset has the same name in every release. Ours is versioned (agent-studio-0.1.1.zip).What
release.ymluploads the built zip twice:agent-studio-<version>.zip: unchanged, and the file the plugin's updater looks for by exact name.agent-studio.zip: a copy for the permanent link.docs/deployment.mddocuments the permanent link and uses it for manual installs.actionlintand Prettier are clean..github/workflows/changes need explicit approval.I've also manually attached
agent-studio.zip(a copy ofagent-studio-0.1.1.zip) to the existing 0.1.1 release, so the link works now and doesn't have to wait for the next release.