Repository navigation
ci: publish main as next, both binaries and docs - #90
Merged
Merged
Conversation
Each push to main publishes a `next` pre-release carrying source-coop-next (production defaults) and source-coop-next-staging, and the docs under next/, listed in the version menu but never latest. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Docs preview: https://source-cooperative.github.io/source-coop-cli/pr-preview/pr-90/ Built from 2a0a25a. It goes live a minute or two after this run, once GitHub Pages deploys it, and is removed when the PR closes. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
After every merge to main, the team can install that exact commit, as the next release or calling staging, without asking anyone to run Preview build, and can read main's docs before they're released.
Main's docs: https://source-cooperative.github.io/source-coop-cli/next/
How it behaves
name: next, features: both. Preview build can now be called from another workflow (workflow_call).features: bothbuilds each target twice and puts both on one pre-release: production assource-coop-NAME, staging assource-coop-NAME-staging. The release notes give both install lines.stagingandproductionwork as before.source-coop-NAME-ARG. With no argument it does what it did before. A name with no build fails with curl's 404.nextpre-release is replaced on each push, like any preview: never "Latest", so Homebrew and the release installers are unaffected. Pushes one after another queue in Preview build's per-name concurrency group, and a queued run is replaced by a newer one.next, tonext/.publish.py nextadds"next": truetoversions.jsonand leaveslatestalone. Releases now keep the other keys in that file, so a release doesn't dropnext. The root page still redirects tolatest/.next/show a banner: "These docs are formain, not yet released. The latest release is vX", with a link to the latest docs.Docs changes
next: previewfeatures: both, the installer's-s -- staging, and the automaticnextpreview with its docs.Not in this PR
stagingpre-release. It's now only for manual runs. The staging build of main issource-coop-next-staging, named so it can't clash with a manualstagingpreview.next/is rebuilt on every merge, with no path filter, so it always matches main. Add a filter if those runs ever cost too much.Testing
preview-build.yml(thefeaturesaxis built withfromJSON) has only been checked by this PR's build-only Preview build run.source-coop-next,staginginstalledsource-coop-next-staging, and an unknown name failed (exit 37).publish.py, run on a scratch gh-pages directory (release v0.4.0, thennext, then v0.5.0):latestended at v0.5.0, andnext/and"next": truewere kept.site.jsparses. I haven't looked at the menu or banner in a browser: please check them on this PR's docs preview. A preview only hasnextonce main has published it, so before merging the menu won't list it.🤖 Generated with Claude Code