Can we provide more detailed version information in tiddlywiki?

Can we provide more detailed version information in tiddlywiki? For example, 5.2.6-prerelease-1059+g2c9fbe34b, but only 5.2.6-prerelease, I currently install tiddlywiki use npm install github:xxxx/TiddlyWiki5#<commit-ish>

You could use the contents of the $:/build shadow tiddler, which looks like this:

Prerelease built from branch 'master' at commit 8d39ce95ebb26ea32ddc8b3102334b2081641df2 of https://github.com/Jermolene/TiddlyWiki5 at 2023-02-27 17:34:15 UTC

1 Like

This file is deleted after the static file is built, and can only be seen in the tiddlywiki documentation.

I agree that that would be very useful. The difficulty is that TW5 can also be installed just by downloading the ZIP file from GitHub, and the ZIP doesn’t contain any indication of the corresponding commit. There’s no build process for the Node.js configuration, so there isn’t an opportunity to make the $:/build tiddler.

We can build nightly version on github actions, maybe similar to how definitely-typed doea this. And cincat the commit hash to the version, then release npm package automatically.

That nightly build could be accomplished by building and publishing a prerelease npm package, but that has pitfalls for end users, and doesn’t resolve the problem that there would still be nothing to stop people downloading the raw repo.

1 Like

I use https://www.npmjs.com/package/@tiddlygit/tiddlywiki as my prerelease, used in TidGi to test latest features. I publish this manually when I release TidGi. No need to download from raw repo @oeyoews