Add BOM group_fields for MPN and deactivate-old CI step

- Add group_fields: [Value, Footprint, mpn] to all BOM outputs to prevent
  components with different MPNs from being merged into one row
- Add deactivate-old step to inventree_main release pipeline

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Tim Hadwen
2026-02-15 17:38:52 +10:00
parent f54fb00f57
commit a9b5e1fa07
2 changed files with 18 additions and 11 deletions

View File

@@ -388,6 +388,10 @@ inventree_main:
# Generate Samsung P&P files only on actual release
echo "Generating Samsung pick-and-place files..."
python main.py samsung $CI_PROJECT_DIR/Fabrication
# Deactivate old revisions (keep only current release + dev)
echo "Deactivating old InvenTree revisions..."
python main.py deactivate-old $CI_PROJECT_DIR/Fabrication
fi
cd $CI_PROJECT_DIR