Repository navigation
feat(update): beta channel that delivers release candidates (reborn) - #1204
Merged
Merged
Conversation
Pre-release tags now run the whole release workflow on Linux, Windows and macOS and publish a GitHub pre-release, skipping the AUR and Homebrew. Settings > Updates > Channel picks stable or beta; beta reads pre-releases too, which semver now orders identifier by identifier. On reborn the release workflow also installs the GTK and WebKitGTK headers the native webview builds against, and the deb, rpm, Arch package and PKGBUILD depend on gtk3, webkit2gtk-4.1 and libXext. semver_test: the contract changed, two pre-releases are now ordered.
The sweep asserted on the pane still loading, a state the contract never promised: settle does not wait for the tree's read, so a slow runner hovered the pane's background, the only clickable then. Measured with the CPU held to one core: 300/300 failures before, 0/300 after.
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.
Summary
Release candidates were built by hand on Linux, so nothing proved they ran on Windows or macOS. This PR routes them through the release workflow and adds a beta channel that delivers them.
CI (
release.yml)v*-*tags are no longer excluded. A pre-release builds and runs the e2e suites on all three systems, and is published with--prerelease, soreleases/latest(install.sh, the Scoop manifest, the stable channel) never names it.aurandhomebrewjobs skip pre-releases.PKGBUILDwith the checksums filled in.PKGBUILD.tplnow splits_tag(the git tag) frompkgver(0.93.0rc15, which pacman can read). The stable AUR render is unchanged apart from the two placeholders.[Unreleased]section at its tag.Backend
semver.Lessorders two pre-releases identifier by identifier (SemVer 11.4). Before,rc.9andrc.15compared equal, so beta would never have offered the next RC. Newsemver.IsPreReleaseacceptsX.Y.Z-label.Nand rejectsgit describebuilds.ghrelease.ReleasesWithPrekeeps the pre-releases.appupdatereads theupdate.channelsetting (store.BetaUpdates) on every lookup.install.shpinned with the newLICH_TAG, Arch builds the release's PKGBUILD withmakepkg -si, the Windows installer works as before, and Homebrew and Scoop get the release page (docs/ceilings.md).Window
User-visible copy
Tests
semver_test: the contract changed. The two cases pinning "rc1 and rc2 are not ordered", and the garbage case that depended on it, now expect the SemVer order.TestIsPreRelease,TestStatusChannel,TestStatusPreReleaseBuildGetsItsRelease,TestBetaInstallCommand,TestBetaUpdates, and theReleasesWithPrecase.v0.93.0-rc.15assets. Itspkgverand the desktop and icon hashes match the PKGBUILD built by hand for that tag.native/gofmt, vet, fix and test.Reborn only
This is #1203 ported onto
reborn, plus what reborn's window needs to build in the release workflow. The native webview links WebKitGTK, so:release.ymlinstallslibgtk-3-dev libwebkit2gtk-4.1-dev libxext-dev, the same setnative.ymlalready installs on this branch.nfpm.yaml(deb, rpm, archlinux) andPKGBUILD.tpldepend on GTK 3, WebKitGTK 4.1 and libXext. The list comes fromobjdump -pof the rc.15 window. libturbojpeg is left out because CI links it statically.The Settings › Updates conflict was resolved against reborn's pane: the Channel row sits under the version row, and switching runs
runCheck.