diff --git a/.github/workflows/build_and_release.yml b/.github/workflows/build_and_release.yml index e74eb27..6c54d00 100644 --- a/.github/workflows/build_and_release.yml +++ b/.github/workflows/build_and_release.yml @@ -134,6 +134,10 @@ jobs: opts = matlab.addons.toolbox.ToolboxOptions(pwd); opts.ToolboxName = 'Pyraview'; + % 2. CRITICAL: Generate and assign a unique identifier + % This satisfies the 'Unique toolbox identifier must be specified' error + opts.ToolboxIdentifier = char(java.util.UUID.randomUUID()); + % Grab version from environment variable v = getenv('RELEASE_TAG'); if startsWith(v, 'v')