Open glensc opened 3 years ago
2.10.1 seems ok:
➔ php74 ~/Downloads/keep-a-changelog\ \(1\).phar --version
keep-a-changelog 2.10.1
This appears to be due to updating to ocramius/package-versions v2, which proxies to the internal functionality provided by Composer for exposing package versions... which evidently doesn't play nicely with the way we build our phar.
@heiglandreas Have you seen similar on any other projects you work on?
Not yet @weierophinney. Will dig into it on the weekend.
I've figured out a solution that bypasses it (basically, using the tag as provided to the workflow as the version, and slipstreaming that into the bin/keep-a-changelog
script); this may actually be slightly better for PHAR purposes, but it also means maintaining both the original script and a .dist
file, which always leads to mismatches. I'll keep my changes locally, and see if you can find another solution, @heiglandreas :)
Bug Report
Summary
Latest .phar is broken, tested with: