Skip to content

Commit a63d3c5

Browse files
committed
lint...
1 parent 002403a commit a63d3c5

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/python-release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -296,27 +296,27 @@ jobs:
296296
run: |
297297
mkdir -p dist/pecos-rslib
298298
mkdir -p dist/quantum-pecos
299-
299+
300300
# Download artifacts into temp directory first
301301
- name: Download all artifacts
302302
uses: actions/download-artifact@v4
303303
with:
304304
path: temp-artifacts/
305-
305+
306306
- name: Organize distribution files
307307
run: |
308308
# Debug: Show what we downloaded
309309
echo "=== Downloaded artifacts structure ==="
310310
ls -la temp-artifacts/
311-
311+
312312
# Move pecos-rslib wheels to distribution directory
313313
for artifact in temp-artifacts/wheel-pecos-rslib-*/; do
314314
if [ -d "$artifact" ]; then
315315
echo "Processing $artifact"
316316
mv "$artifact"*.whl dist/pecos-rslib/ 2>/dev/null || true
317317
fi
318318
done
319-
319+
320320
# Move quantum-pecos files to distribution directory
321321
for artifact in temp-artifacts/*-quantum-pecos*/; do
322322
if [ -d "$artifact" ]; then
@@ -325,10 +325,10 @@ jobs:
325325
mv "$artifact"*.tar.gz dist/quantum-pecos/ 2>/dev/null || true
326326
fi
327327
done
328-
328+
329329
# Clean up
330330
rm -rf temp-artifacts
331-
331+
332332
- name: List all collected artifacts
333333
run: |
334334
echo "=== pecos-rslib artifacts ==="
@@ -340,14 +340,14 @@ jobs:
340340
echo "=== Summary ==="
341341
echo "pecos-rslib wheels: $(ls -1 dist/pecos-rslib/*.whl 2>/dev/null | wc -l)"
342342
echo "quantum-pecos distributions: $(ls -1 dist/quantum-pecos/* 2>/dev/null | wc -l)"
343-
343+
344344
- name: Create release bundle
345345
run: |
346346
# Create a single zip containing both package directories
347347
zip -r pecos-distribution.zip dist/
348348
echo "Created pecos-distribution.zip containing:"
349349
unzip -l pecos-distribution.zip | grep -E "(pecos-rslib|quantum-pecos)/"
350-
350+
351351
- name: Upload distribution bundle
352352
uses: actions/upload-artifact@v4
353353
with:

scripts/publish-wheels.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,22 +76,22 @@ unzip -q "$ZIP_FILE" -d "$TEMP_DIR"
7676
publish_package() {
7777
local package_name=$1
7878
local package_dir="$TEMP_DIR/dist/$package_name"
79-
79+
8080
if [ ! -d "$package_dir" ]; then
8181
echo -e "${YELLOW}Warning: $package_name directory not found in distribution${NC}"
8282
return
8383
fi
84-
84+
8585
local file_count=$(ls -1 "$package_dir" | wc -l)
8686
if [ "$file_count" -eq 0 ]; then
8787
echo -e "${YELLOW}Warning: No files found in $package_name directory${NC}"
8888
return
8989
fi
90-
90+
9191
echo -e "\n${GREEN}=== Publishing $package_name ===${NC}"
9292
echo "Found $file_count distribution file(s):"
9393
ls -la "$package_dir"
94-
94+
9595
if [ "$DRY_RUN" = true ]; then
9696
echo -e "\n${YELLOW}DRY RUN: Would upload the following files:${NC}"
9797
ls -1 "$package_dir"
@@ -124,4 +124,4 @@ else
124124
publish_package "quantum-pecos"
125125
fi
126126

127-
echo -e "\n${GREEN}Done!${NC}"
127+
echo -e "\n${GREEN}Done!${NC}"

0 commit comments

Comments
 (0)