From a8887161d3c37e50f7a82acd8d080322862eae7e Mon Sep 17 00:00:00 2001 From: Xuwznln <18435084+Xuwznln@users.noreply.github.com> Date: Thu, 16 Oct 2025 13:06:13 +0800 Subject: [PATCH] pack repo info --- .github/workflows/conda-pack-build.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/conda-pack-build.yml b/.github/workflows/conda-pack-build.yml index 0c119759..7e278a9b 100644 --- a/.github/workflows/conda-pack-build.yml +++ b/.github/workflows/conda-pack-build.yml @@ -242,6 +242,10 @@ jobs: echo Adding: verify_installation.py copy scripts\verify_installation.py dist-package\ + rem Copy source code repository (including .git) + echo Adding: Uni-Lab-OS source repository + robocopy . dist-package\Uni-Lab-OS /E /XD dist-package /NFL /NDL /NJH /NJS /NC /NS || if %ERRORLEVEL% LSS 8 exit /b 0 + rem Create README using Python script echo Creating: README.txt python scripts\create_readme.py ${{ matrix.platform }} ${{ github.event.inputs.branch }} dist-package\README.txt @@ -274,6 +278,10 @@ jobs: echo "Adding: verify_installation.py" cp scripts/verify_installation.py dist-package/ + # Copy source code repository (including .git) + echo "Adding: Uni-Lab-OS source repository" + rsync -a --exclude='dist-package' . dist-package/Uni-Lab-OS + # Create README using Python script echo "Creating: README.txt" python scripts/create_readme.py ${{ matrix.platform }} ${{ github.event.inputs.branch }} dist-package/README.txt