lha icon indicating copy to clipboard operation
lha copied to clipboard

Introduce dynamic versioning with gen-build-version.sh

Open jca02266 opened this issue 8 months ago • 2 comments

Generates version strings from the latest Git commit hash when inside a Git work tree, or from .tarball-version when building from a release archive. With the --dist option, omits the commit hash for distribution builds. Automatically generates .tarball-version during 'make dist' and includes it in the tarball.

jca02266 avatar May 02 '25 05:05 jca02266

英語が苦手なので日本語で失礼します。 ぜひmergeしていただきたいと思います。一点、build-aux/gen-build-version.shの14行目と15行目でコマンドが違うのに違和感があります。

HASH=$(git log -1 --pretty=format:"%h")

で良いのでは。

hirotosakai avatar May 02 '25 09:05 hirotosakai

英語は全部chatgptですwいい時代になりました

jca02266 avatar May 06 '25 02:05 jca02266