Repository navigation
Conversation
- README install commands pin v1.2.0 (git and tarball forms); the pinned-dependency example keeps v1.1.0 until the tag exists - 1.2.0 is dated 2026-12-04 in CHANGELOG.md and the README - README coverage figure: 98.29% (975 of 992), CI on 486112d - rake oobt:package: copy oobt/package, a standalone consumer project, to a temp dir, zig fetch --save a git ref of this repo from GitHub (REF, default the release tag), and run oobt/demo.zig against it - rake release:docs: refuse to release unless CHANGELOG.md and the README announce the build.zig.zon version, dated today, with matching pins - rake release: preflight requires HEAD == origin/master after a fetch; push only the new tag; then run oobt:package on it, check the fetched version and refresh the README pinned-dependency example - CHANGELOG: Windows CI and its error.Unexpected caveat 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.
Fixes the blockers from the v1.2.0 release review. Also adds a check that installs the published package the way a user would.
Docs that ship inside the tag
README.mdis inbuild.zig.zon.paths, so these must be right in the tagged commit:v1.2.0: both the git form (README.md:26,:49) and the tarball form (:80). The pinned-dependency example keepsv1.1.0until the tag exists;rake releaserefreshes it afterwards.CHANGELOG.mdand the README Changelog section. If the release happens on another day,rake release:docssays so before anything is tagged.error.Unexpectedcaveat, plus the rake changes below.Release automation (Rakefile)
rake oobt:package: a standalone consumer project inoobt/package/that lists no dependency in git. The task copies it to a temporary directory and runszig fetch --save 'git+https://github.com/serpapi/serpapi-zig#<ref>'there. It then builds and runsoobt/demo.zig(a search plus an image upload) against what was fetched.REFselects the ref; the default is the release tag.rake release:docs: fails unlessCHANGELOG.mdand the README Changelog section announce thebuild.zig.zonversion, dated today, and every README install command pins it.rake release:HEAD == origin/master. Before, a checkout that was 5 commits behind would have tagged an older commit.master --tags.oobt:packageon the tag, checks that the fetched hash isserpapi-<version>-…, and rewrites the README pinned-dependency example with the fetched URL and hash, for a follow-up commit.Testing
zig build lint: pass, includingoobt/package.ruby -c Rakefile: OK.rake --taskslistsoobt:package[ref]andrelease:docs.rake release:docspasses on this tree. On throwaway copies it fails with a clear message for each of:update_readme_pinon a copy rewrites exactly the 3 lines of the pinned-dependency example.REF=release-prep rake oobt:package(live):release-prepto b1232cc and fetched it from GitHubserpapi-zig 1.2.0 out-of-box test: successserpapi-1.2.0-PYmxE7D5AQDEmIb6pPGS2BCF9clAIoNgnXdl_euc17Lyrake releaseitself, andoobt:packageon a real tag (none exists yet).After merge
Merge on the day you release, or update the two dates first;
rake release:docswill tell you which. Then:🤖 Generated with Claude Code