Skip to content

fix: point README badge to stable demo/build/latest/ instead of volatile commit SHA - #6

Merged
luke-b merged 2 commits into
mainfrom
copilot/fix-404-readme-latest-build-badge
May 6, 2026
Merged

fix: point README badge to stable demo/build/latest/ instead of volatile commit SHA#6
luke-b merged 2 commits into
mainfrom
copilot/fix-404-readme-latest-build-badge

Conversation

Copilot AI commented May 6, 2026

Copy link
Copy Markdown
Contributor

The "Play latest build" badge was hardcoded to a commit-SHA URL (demo/build/81daf9b/), and the update-readme CI job kept rewriting it with the newest SHA on every push — meaning any stale SHA (failed deploy, deleted build, etc.) results in a 404. A stable demo/build/latest/ redirect already existed but was never wired to the badge.

Changes

  • README.md: Badge URL changed from demo/build/81daf9b/demo/build/latest/
  • borland-dos-pipeline.yml (update-readme job): DEMO_URL hardcoded to demo/build/latest/; removed now-unused SHORT_SHA variable from that step (still used in the commit message step below it)
-DEMO_URL="https://luke-b.github.io/DosTest/demo/build/${SHORT_SHA}/"
+DEMO_URL="https://luke-b.github.io/DosTest/demo/build/latest/"

@luke-b
luke-b marked this pull request as ready for review May 6, 2026 20:01
@luke-b
luke-b merged commit 993afe5 into main May 6, 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.

2 participants