Skip to content

Replace build-release.sh with cross-platform PHP script - #12

Merged
fiammybe merged 1 commit into
mainfrom
claude/project-thread-fchuon
Nov 5, 2026
Merged

fiammybe merged 1 commit into
mainfrom
claude/project-thread-fchuon

Conversation

@fiammybe

@fiammybe fiammybe commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Requested by David · project thread

Summary

  • tools/build-release.sh is replaced by bin/build-release.php (same bin folder convention as ImpressCMS core). It uses only ZipArchive, no shell calls, so it runs on Windows, Linux and macOS.
  • Same behaviour: reads status_version from src/icms_version.php, builds dist/imforum-<version>.zip with modules/imforum (src, LICENSE, README, CHANGELOG, docs) and modules/iforum (stub), and prints the output path. Entries are added in sorted order with forward slashes.
  • The CHANGELOG reference is updated. No version bump (not a phase change).

Testing

Ran both the old shell script and the new PHP script on the same tree: the zips contain an identical list of 136 files. No site tests were run.

Usage: php bin/build-release.php


Generated by Claude Code

@fiammybe fiammybe self-assigned this Nov 5, 2026
@fiammybe
fiammybe merged commit 98ede29 into main Nov 5, 2026
7 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