Repository navigation
Run release builds in bash and publish failed tags again. - #42
Merged
Merged
Conversation
- Windows steps ran in PowerShell, where "$SCRIPT" is empty: `pnpm run ""` built nothing, so v0.2.0 and v0.3.0 never published. Every release step now runs in bash. - release.yml builds all three installers (no publish) on PRs that touch packaging, including every Release PR, so a broken build fails before its tag exists. - A manual run given a tag builds that tag's source and publishes its missing release, marked latest only if it is the newest version. - Platforms no longer cancel each other on failure.
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
- The Release PR is updated on every merge to main, so building it would package all three installers on nearly every merge. Releases stay the only automatic build. - A manual run without a tag attests again, as before.
Merged
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.
What changed
"$SCRIPT"is an empty PowerShell variable, not the env var.pnpm --filter lyra run ""only lists the scripts and exits 0, so the Windows job built nothing, its upload failed,fail-fastcancelled macOS and Linux, and publish was skipped. That happened to both v0.2.0 and v0.3.0, soreleases/latest(and the in-app updater) is still v0.1.2.release.ymlnow setsdefaults.run.shell: bashfor every step.workflow_dispatchtakes an optionaltag. Given one, it checks out that tag's source, builds it with this workflow (including the pre-Turborepo layout of v0.2.0), attests it and publishes the missing release. It is marked latest only if it is the newest stable tag, and a tag that already has a release is refused. Without a tag, a manual run still builds and attests without publishing.fail-fast: false, so one platform failing doesn't hide the others.docs/RELEASING.md: a "A release that failed" section, and the manual release-candidate build step now says it is the only build before the tag.Installers are still built only from a version tag or a manual run. An earlier commit here also built them on PRs. I dropped that because the Release PR is updated on every merge to
main, which would have rebuilt all three installers on nearly every merge.How it was verified
pnpm run ""printing the script list underpwsh, thenNo files were found.git archiveof v0.2.0, v0.3.0, v0.1.2 and HEAD:.and not latest.apps/lyraand latest.pnpm checkpasses.