Skip to content

Commit

Permalink
feat(exe): add file with API version and commit to bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Jul 1, 2023
1 parent fcaeb8c commit 94688ab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions exe/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,8 @@ git rev-parse HEAD > commit.txt
set /p GIT_SHA=<commit.txt
set GIT_HEAD=%GIT_SHA:~0,8%

REM create version file
echo "%BUNDLE_VERSION%-%BUNDLE_TYPE%-%GIT_HEAD%" > .\dist\version.txt

REM create archive
"C:\Program Files\7-Zip\7z.exe" a .\dist\onnx-web-v%BUNDLE_VERSION%-%BUNDLE_TYPE%-%GIT_HEAD%.zip ".\dist\*"

0 comments on commit 94688ab

Please sign in to comment.