| @echo off | |
| REM Template: upload this release to Hugging Face with a write token. | |
| REM 1. Install git and git-lfs. | |
| REM 2. Set your token in this terminal only: | |
| REM set HF_TOKEN=hf_your_write_token_here | |
| REM 3. Edit REPO below. | |
| set REPO=MaciejNowicki/The-Heaven-Vector-Compression-Engine-v4 | |
| set MSG=HVCE v4.0.0 OmniCrown public expert-review release | |
| where git >nul 2>nul || (echo git not found && exit /b 1) | |
| where git-lfs >nul 2>nul || (echo git-lfs not found && exit /b 1) | |
| git lfs install | |
| if not exist upload_work mkdir upload_work | |
| cd upload_work | |
| if not exist .git ( | |
| git clone https://user:%HF_TOKEN%@huggingface.co/%REPO% . | |
| ) | |
| copy /Y ..\*.md . | |
| copy /Y ..\*.py . | |
| copy /Y ..\*.toml . | |
| copy /Y ..\*.cff . | |
| copy /Y ..\LICENSE . | |
| copy /Y ..\*.json . | |
| xcopy /E /I /Y ..\tests tests | |
| xcopy /E /I /Y ..\windows windows | |
| git add . | |
| git commit -m "%MSG%" | |
| git push | |