Skip to content

Commit bb131b4

Browse files
committed
Add python utility scripts to release
1 parent 457842c commit bb131b4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/bash/package_release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ echo ""
6161

6262
# ── Validate required files ───────────────────────────────────────────────────
6363

64-
REQUIRED_FILES=("src" "pyproject.toml" "uv.lock" "README.md")
64+
REQUIRED_FILES=("src/" "scripts/python/" "pyproject.toml" "uv.lock" "README.md")
6565

6666
for item in "${REQUIRED_FILES[@]}"; do
6767
if [[ ! -e "${REPO_ROOT}/${item}" ]]; then
@@ -84,7 +84,7 @@ cd "$REPO_ROOT"
8484
# This ensures only tracked files are included, preventing accidental inclusion of
8585
# .env files, local secrets, or untracked files.
8686
echo "Creating archive from git tracked files..."
87-
git archive --format=zip -o "$ARTIFACT_PATH" HEAD src/ pyproject.toml uv.lock README.md
87+
git archive --format=zip -o "$ARTIFACT_PATH" HEAD "${REQUIRED_FILES[@]}"
8888

8989
echo "Archive created successfully."
9090

0 commit comments

Comments
 (0)