hoarder-app / hoarder

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
https://hoarder.app
GNU Affero General Public License v3.0
2.25k stars 74 forks source link

hoarder --version reports version 0.0.0 #139 #212

Closed kamtschatka closed 2 weeks ago

kamtschatka commented 2 weeks ago

added a build step after vite, to replace the fallback 0.0.0 value with the version from the package.json

MohamedBassem commented 2 weeks ago

I didn't like the "find and replace" approach here to be honest. I found a way to let vite inline some variables during build, so used that instead here: https://github.com/hoarder-app/hoarder/commit/f7a77533240ec435c8a7b103b6f6be409bf995d8

kamtschatka commented 2 weeks ago

TIL