Repository navigation
MatBox v0.13.0 lets a toolbox give its packaged .mltbx the same file name in every release, and names the GitHub requirement that has no license when packaging stops. Existing code keeps working; no migration is needed from v0.12.0.
Added
MltbxFileName, an optional top-level field inMLToolboxInfo.json, sets the file name of the packaged toolbox, with.mltbxappended if it is missing. It takes precedence over theToolboxShortNameoption ofpackageToolbox. The file is still written toreleases/, and a name that contains/or\raisesMatBox:Package:InvalidMltbxFileName. With a fixed name, the latest release can be downloaded fromhttps://github.com/<owner>/<repo>/releases/latest/download/<MltbxFileName>.mltbx(#80).
Changed
- When GitHub has no license for a GitHub requirement,
packageToolboxstops withMatBox:GitHub:LicenseNotFound, which names the repository and asks for aLICENSEfile. It used to stop with the 404 error ofwebreadfor the GitHub license endpoint. Packaging still stops, because MATLAB needs a license URL for each additional software package (#79).
All merged pull requests
What's Changed
- fix: say which requirement has no license when packaging stops by @stevevanhooser in #79
- feat: name the packaged mltbx from MltbxFileName in MLToolboxInfo.json by @ehennestad in #80
New Contributors
- @stevevanhooser made their first contribution in #79
Full Changelog: v0.12.0...v0.13.0