Skip to content

ci(release): attach agent-studio.zip for a permanent download link - #17

Open
wpscholar wants to merge 1 commit into
mainfrom
ci/stable-zip-name
Open

wpscholar wants to merge 1 commit into
mainfrom
ci/stable-zip-name

Conversation

@wpscholar

Copy link
Copy Markdown
Owner

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.yml uploads 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.md documents the permanent link and uses it for manual installs.

actionlint and Prettier are clean.

.github/workflows/ changes need explicit approval.

I've also manually attached agent-studio.zip (a copy of agent-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.

…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

No deployments
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.

1 participant