mne-tools / mne-cpp

MNE-CPP: A Framework for Electrophysiology
https://mne-cpp.org/
BSD 3-Clause "New" or "Revised" License
151 stars 137 forks source link

[FIX] Fix packing linux builds #943

Closed gabrielbmotta closed 1 year ago

gabrielbmotta commented 1 year ago

Currently our deploy script sets PackOption to pack instead of true in the Linux section of the script. When this is later checked in the script, it causes the packing code not to run, since we check for "pack" == "true". This has resulted our Linux binaries not being generated whenever a release is triggered.

This PR makes a change to the linux section of the script, where command line arguments are parsed, fixing the setting of the pack variable to true in case the appropriate flag is passed. This makes the functionality mirror that of the macOS section, which is behaving correctly.