Переглянути джерело

pack.bat 文案对齐版本规则: 包名 app_guanlang_v<版本号>.zip(src/version.py 单一真源)

zhouyang.xie 3 тижнів тому
батько
коміт
b82640cb38
1 змінених файлів з 3 додано та 2 видалено
  1. 3 2
      pack.bat

+ 3 - 2
pack.bat

@@ -20,7 +20,8 @@ rem    pack.bat dry          show what would be packed, write nothing
 rem    pack.bat verify       open-box verify an already built zip
 rem    pack.bat help         this text
 rem
-rem  Output: a .zip named guanlan-v[version]_dist_[date].zip, written next to the install dir.
+rem  Output: a .zip named app_guanlang_v<version>.zip, written next to the install dir.
+rem          (version rule + package name single source: src/version.py -> RULE / PACKAGE_STEM)
 rem  Details: README at install root, section "PACK / packaging" (Chinese)
 rem           and docs\??????.md section 9 (delivery package)
 rem ============================================================================
@@ -62,7 +63,7 @@ exit /b 0
 :verify
 if "%~2"=="" (
   echo [i] Usage: pack.bat verify [path\to\package.zip]
-  echo     With no path, the newest guanlan-v*_dist_*.zip next to the install dir is used.
+  echo     With no path, the newest app_guanlang_v*.zip next to the install dir is used.
 )
 ".venv\Scripts\python.exe" scripts\pack_verify_entry.py %2
 pause