Skip to content

infrastructure: fix Windows PTB registration failing after installer rename#9150

Merged
vadi2 merged 1 commit intodevelopmentfrom
fix/windows-ptb-register-pattern
Apr 5, 2026
Merged

infrastructure: fix Windows PTB registration failing after installer rename#9150
vadi2 merged 1 commit intodevelopmentfrom
fix/windows-ptb-register-pattern

Conversation

@vadi2
Copy link
Copy Markdown
Member

@vadi2 vadi2 commented Apr 4, 2026

Brief overview of PR changes/additions

Motivation for adding to Mudlet

The "Register PTB Release" CI step is broken on development — it can never find the uploaded installer.

Other info (issues closed, discussion etc)

Regression from #9127.

Test case: Trigger a scheduled/manual PTB Windows build and verify the "Register PTB Release" step completes successfully.

The installer was renamed from *-windows-64.exe to
*-windows-64-installer.exe in #9127, but the search pattern in
register-windows-release.sh was not updated, causing the PTB
registration step to loop for an hour and fail.
@vadi2 vadi2 requested a review from a team as a code owner April 4, 2026 19:11
@add-deployment-links
Copy link
Copy Markdown

add-deployment-links bot commented Apr 4, 2026

Hey there! Thanks for helping Mudlet improve. 🌟

Test versions

You can directly test the changes here:

No need to install anything - just unzip and run.
Let us know if it works well, and if it doesn't, please give details.

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps bot commented Apr 4, 2026

Reviews (1): Last reviewed commit: "Fix: update PTB register search pattern ..." | Re-trigger Greptile

@vadi2
Copy link
Copy Markdown
Member Author

vadi2 commented Apr 5, 2026

Merging now to iron out the new github releases infrastructure, but reviews are welcome as always for a second pair of eyes.

@vadi2 vadi2 merged commit f9b7454 into development Apr 5, 2026
13 checks passed
@vadi2 vadi2 deleted the fix/windows-ptb-register-pattern branch April 5, 2026 08:52
vadi2 added a commit that referenced this pull request Apr 5, 2026
…g, and portable ZIP upload (#9154)

#### Brief overview of PR changes/additions
- Fix macOS Intel PTB updater serving the ARM64 binary instead of x64
(wrong variable in `link-ptbs-to-dblsqd.yml` since PR #7488)
- Fix PTB registration search pattern to match both old
(`*-windows-64.exe`) and new (`*-windows-64-installer.exe`) naming from
make.mudlet.org
- Fix portable ZIP upload silently failing on release builds due to
undefined `GITHUB_WORKSPACE_UNIX_PATH` in `deploy-mudlet-for-windows.sh`
- Fix double curl call per retry in `register-windows-release.sh` and
stray `}` in debug echo

#### Motivation for adding to Mudlet
Multiple CI bugs affecting PTB delivery: Intel Mac users get ARM64
binaries via the updater, Windows PTB registration fails when
make.mudlet.org uses the old naming, and portable ZIP never uploads for
releases.

#### Other info (issues closed, discussion etc)
The macOS x64/ARM64 mixup was introduced in #7488. The register pattern
issue is a follow-up to #9150.

**Test case:** Trigger a PTB build and verify: (1)
`register-windows-release.sh` finds the URL regardless of naming, (2)
`link-ptbs-to-dblsqd.yml` links the correct macOS x64 URL, (3) a tagged
release build attempts the portable ZIP upload.
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