- This adds a new
releasefile to the root folder where we store the current version of the app. - A new
scripts/releasescript that updates thetauri.conf.jsonandInfo.plistfile to get a shortened commit hash of the head the app was built on.- Only tested on macOS, we need some testing how we can expose this on other operating systems.
- This adds a new
releasefile to the root folder where we store the current version of the app. - A new
scripts/releasescript that updates thetauri.conf.jsonandInfo.plistfile to get a shortened commit hash of the head the app was built on.- Only tested on macOS, we need some testing how we can expose this on other operating systems.
Woodpecker pipeline #425 current status: created. ⏳
- Details: https://woodpecker.radworks.garden/repos/6/pipeline/96
Woodpecker pipeline #425 current status: created. ⏳
- Details: https://woodpecker.radworks.garden/repos/6/pipeline/96
Woodpecker pipeline #425 completed with status: success. ✅
- Details: https://woodpecker.radworks.garden/repos/6/pipeline/96
Replace hard coded commit hash in Info.plist with __VERSION__
Woodpecker pipeline #426 current status: created. ⏳
- Details: https://woodpecker.radworks.garden/repos/6/pipeline/97
Woodpecker pipeline #426 current status: created. ⏳
- Details: https://woodpecker.radworks.garden/repos/6/pipeline/97
Woodpecker pipeline #426 completed with status: success. ✅
- Details: https://woodpecker.radworks.garden/repos/6/pipeline/97
Just read over the code, didn’t test yet.
Could we:
- update the RELEASE.md checklist to make sure we update the right version file
- also bake the version + latest commit sha into the in-app Settings popover during build
Improve baking in
Changes:
- Instead of having an additional
releasefile we could rely solely ontauri.conf.json - Instead of running a shell script we can bake the values in the
build.rsfile and then query from the frontend the static values, so we don’t have to handle vite and env variables.- Also allows us to access them from other implementations like test-http-api, or other crates.
- I simplified also some npm run scripts IMO, but open to revert that
I simplified also some npm run scripts IMO, but open to revert that
Yeah, I liked how it was before, kinda what you’re used from a tauri project. Maybe let’s revert that.
Left an inline comment. The other changes are a nice improvement!
Revert changes to npm run scripts and addressed line comment in Settings.svelte file