mathworks / OpenTelemetry-MATLAB

MATLAB interface to OpenTelemetry
Apache License 2.0
14 stars 3 forks source link

Refactor release workflow #142

Closed duncanpo closed 2 months ago

duncanpo commented 2 months ago

Current release workflow do the following in order:

  1. Creates and publishes a release
  2. Builds mltbx file
  3. Attaches mltbx file to the release

If step 2 fails, we will have to make changes and rebuild. By that time, a release has already been published, so we have to delete and recreate the release. That causes a problem with the integration with MATLAB File Exchange.

A better workflow would be to build the mltbx file first. Only if successful, then create and publish new release.