Skip to content

Commit

Permalink
Make the dashboard bake its version
Browse files Browse the repository at this point in the history
  • Loading branch information
KenwoodFox committed Mar 24, 2024
1 parent efe00d9 commit 1cfc5be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ stage: # Prepares dist/ for deployment
make build
cp entrypoint.sh $(STAGEDIR)
cp run.bat $(STAGEDIR)
find dist/ -type f -exec sed -i 's/%baked_ver%/${shell git describe --always}/g' {} +
1 change: 1 addition & 0 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
</div>
</div>
</div>
Dashboard version %baked_ver%
<img id="camera-error" src="asset/doh.png" alt="" />
<img id="camera" src="http://10.17.21.11:5800" alt="" />
<div id="thermal">
Expand Down

0 comments on commit 1cfc5be

Please sign in to comment.