Skip to content

fix: point release scripts and cask templates at bstack-tools/ContextLens - #9

Merged
Brendan-Lim merged 1 commit into
mainfrom
fix/release-scripts-org-repo
Nov 21, 2026
Merged

Brendan-Lim merged 1 commit into
mainfrom
fix/release-scripts-org-repo

Conversation

@Brendan-Lim

Copy link
Copy Markdown
Member

Summary

The repository moved from Brendan-Lim/ContextLens to bstack-tools/ContextLens, but the release tooling still hard-coded the old path. GitHub redirects API calls, so publishing worked, but the strict asset-URL check in preview-release.py update-tap now fails:

python3 scripts/preview-release.py update-tap 0.3.1-preview.1 …
Preview gate failed: Unexpected preview asset URL

because browser_download_url is reported under bstack-tools/…. The same constant also wrote the old URL into the 0.3.1-preview.1 receipt's sourceRepository.

-REPO = 'Brendan-Lim/ContextLens'
+REPO = 'bstack-tools/ContextLens'

The same replacement is applied to update-homebrew.py, release.py, publish-release.sh, unnotarized-stable.yml, the three cask templates, the preview test fixtures and the one remaining API URL in docs/preview-releases.md. Brendan-Lim/tap (the Homebrew tap) is unchanged.

Evidence

  • python3 -m unittest discover -s scripts/tests: 82 tests OK (2 skipped)
  • distribution/homebrew/scripts/validate.py, check-public-links.py, audit-public-files.py: 0 findings
  • https://api.github.com/repos/bstack-tools/ContextLens/releases/assets/723563642 serves the existing preview asset (HTTP 200)
  • git grep 'Brendan-Lim/ContextLens': no matches left

Merge Danger

Door: two-way

Blast Radius: release tooling only. No app source changes. 0.3.1-preview.1 keeps its published receipt; the next preview (0.3.1-preview.2) will carry the correct source repository and can generate the tap cask.

@Brendan-Lim
Brendan-Lim merged commit dc751a7 into main Nov 21, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant