Cut Gate Version
Path:
loom-builder/scripts/cut_gate_version.pyRelative: scripts/cut_gate_version.pySubproject: loom-builderCategory: dispatch-scriptsLines: 176Bytes: 8,102Imports: 8Exports: 4
Content Preview
- #!/usr/bin/env python3
- """cut_gate_version.py — the ONLY sanctioned way a gate pack changes (N15/N17).
- Creates gates/v<next>/<pack>.json in a NEW version directory and appends it to
- MANIFEST.json. Never mutates existing files; identical re-runs are no-ops (A1).
- Usage:
- cut_gate_version.py --from v1.0.0/default --bump patch
- cut_gate_version.py --from v1.0.0/default --new-pack oregon-smb --set validation='[{"type":"presence","cmd":"test -s $OUT"}]'
- cut_gate_version.py --from v1.0.0/hubcli -