Segunda promoción antes del tag: release.yml se lee del árbol del tag, así que este cambio tiene que estar en main antes de crear v26.8.0-beta.1.
Segunda promoción antes del tag: `release.yml` se lee del árbol del tag, así que este cambio tiene que estar en `main` antes de crear `v26.8.0-beta.1`.
While there is no stable release, a bare `npm install @green-tea/core` should
get the same thing `@beta` gets — that is what the docs promise. Since
`1a313c2` a prerelease publishes under its channel tag only, so the next
release would have left `latest` behind on 26.8.0-beta.0: an older build for
anyone who installs without asking for a channel.
`npm publish` sets one tag, and `npm dist-tag` cannot use Trusted Publishing —
the OIDC exchange lives inside `publish.js` and nowhere else. Rather than keep
a long-lived npm token in a secret for one command, the step runs the same
exchange itself: request the Actions id-token, trade it for a short-lived
package-scoped token, move the tag. Both values are masked.
The rule is bounded on purpose. Once a stable version exists it owns `latest`
permanently, and a beta published afterwards must not drag it backwards; the
lookup that decides this is read into a variable first, so a failed request
fails the step instead of passing for "no stable exists".
Both publishes also become skip-if-present. That is not belt-and-braces: the
new step runs after them and can fail, so a re-run has to be able to finish
the remaining work instead of dying on a version npm would reject anyway. The
JSR guard asks api.jsr.io rather than jsr.io/meta.json, which is 404 for a
package with no versions yet — the state this package is actually in.
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Segunda promoción antes del tag:
release.ymlse lee del árbol del tag, así que este cambio tiene que estar enmainantes de crearv26.8.0-beta.1.lateston the newest beta, and make a re-run finishablelateston the newest beta, and make a re-run finishable' (#58) from ci/release-dist-tags into develop