1
0
Fork 1
mirror of https://github.com/0x2E/fusion.git synced 2025-06-08 05:27:15 +09:00
Commit graph

4 commits

Author SHA1 Message Date
Yuan
ab157ad769
refactor: new ui (#69) 2025-03-12 19:22:07 +08:00
Michael Lynch
c41f596a50 Pull version string detection out of the frontend
It's tripped me up a few times that version string generation happens in the Vite build.

When someone forks a repo, they don't have the tags, so when they run ./scripts.sh build, the build will fail with a confusing error about git describe.

This adjusts the logic so that we determine the fusion version string in scripts.sh and in the release.yml workflow. It also makes it so that if no version string is available, the frontend defaults to 'unknown-version'.

This should also make it easier for distributions that want to package fusion, as they previously had to apply workarounds to avoid issues related to deriving the version from git:

https://github.com/NixOS/nixpkgs/pull/353616/files#diff-bf194e560f79450a8df2281184c901a7cab6f5da1e25b3b20ec7767e9482ad1e
2025-03-02 09:47:42 -05:00
rook1e
86fc2b81b3
feat: show version in page footer 2024-03-17 20:13:03 +08:00
rook1e
e9b065e9fb
init 2024-03-06 16:54:13 +08:00