mirror of
https://github.com/xiaozhou233/JuiceAgent.git
synced 2026-12-05 21:15:56 +08:00
Feat: add version-based packaging script
Add script/package.bat and script/package.cmake to package build/bin artifacts into a versioned zip under dist/. Version.txt now uses Major/Minor/Patch key-value format so the script can parse it, and dist/ is ignored.
This commit is contained in:
1 parent
55303b7dc9
commit
560215c0ae
4 files changed
+88
-1
No files matched your search
@@ -0,0 +1,16 @@
|
||||
|
||||
@echo off
|
||||
setlocal
|
||||
|
||||
set "ROOT_DIR=%~dp0"
|
||||
|
||||
cmake -P "%ROOT_DIR%package.cmake"
|
||||
|
||||
if errorlevel 1 (
|
||||
echo [ERROR] Packaging failed.
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo [SUCCESS] Packaging completed.
|
||||
|
||||
pause
|
||||
Reference in new issue
Block a user