Skip to content

Release: rebuild the deployed repository from scratch to drop stale files - #401

Merged
TomasVotruba merged 1 commit into
mainfrom
release-clear-stale-bin
Nov 19, 2026
Merged

TomasVotruba merged 1 commit into
mainfrom
release-clear-stale-bin

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

The sync to ecsphp/ecs only removed some directories (.github, docs, config, packages, src, vendor, bin/blink-*). Files that were dropped from the build stayed in the deployed package:

  • bin/blink - an old shell wrapper that looks for the no longer bundled bin/blink-<os>-<arch> (follow-up to Blink: download binaries from GitHub releases instead of committing them #395)
  • bin/generate-php-cs-fixer-tests.php
  • root dev files untouched for months: .editorconfig, CLAUDE.md, build/, ecs.php, full_ecs_build.sh, patches/, phpstan.neon, phpunit.xml, prefix-code.sh, rector.php, scoper.php, tests/

Now everything except .git is removed before the build is copied in, so the deployed repository matches the build output exactly.

LICENSE and .gitattributes were never produced by the build either. They're now deployed explicitly: LICENSE is copied from the root (identical to the deployed one), and .gitattributes moves into build/target-repository/ with the same content as the one deployed now.

…iles

The sync only removed selected directories, so files dropped from the build lingered in ecsphp/ecs, e.g. bin/blink looking for the no longer bundled binaries, or the old dev files at the root. Now everything but .git is removed before copying the build; LICENSE and .gitattributes are deployed explicitly.
@TomasVotruba
TomasVotruba merged commit eecfc14 into main Nov 19, 2026
10 checks passed
@TomasVotruba
TomasVotruba deleted the release-clear-stale-bin branch November 19, 2026 20:31
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