Skip to content

Commit 5905ea0

Browse files
authored
Merge pull request #125 from mathworks/120-final-bugfixes-and-release-24
120 final bugfixes and release 24
2 parents 36c2ec1 + c97db9e commit 5905ea0

File tree

76 files changed

+226
-1561
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+226
-1561
lines changed

.github/workflows/wt-ci.yml renamed to .github/workflows/git-ci.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
name: Widgets Toolbox Continuous Integration
22

33
# Controls when the workflow will run.
4-
on:
5-
# Triggers the workflow on push or pull request events, but only for the master branch.
6-
push:
7-
branches: [master]
8-
pull_request:
9-
branches: [master]
10-
4+
on: [push, workflow_dispatch]
5+
# Triggers the workflow on push or pull request events
116
# This allows the workflow run to be run manually from the Actions tab in GitHub.
12-
workflow_dispatch:
137

148
# A workflow run is made up of one or more jobs that can run sequentially or in parallel.
159
jobs:
@@ -20,7 +14,7 @@ jobs:
2014
# Set up the job strategy matrix to define the different job configurations.
2115
matrix:
2216
# List of platforms on which to run the tests.
23-
platform: [ubuntu-latest, windows-latest]
17+
platform: [windows-latest]
2418

2519
# List of MATLAB releases over which to run the tests.
2620
matlab-version: [R2023b, R2024a, R2024b]

deploy/wtDeployVersion.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.4.0
1+
2.4.0

deploy/wtPackageRelease.m

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,19 @@
33
% Copyright 2025 The MathWorks, Inc.
44

55

6+
%% Increment Version Number?
7+
8+
% Increment the last part of the version number in wtDeployVersion.txt for
9+
% the next release
10+
% wt.deploy.incrementVersionNumber();
11+
12+
613
%% Get paths
714

815
% Project root
916
proj = currentProject;
1017
projectRoot = proj.RootFolder;
1118

12-
% docInputPath = fullfile(projectRoot,"doc_input","mlx");
13-
% docOutputPath = fullfile(projectRoot,"widgets","doc");
14-
15-
% docInputPath = fullfile(projectRoot,"widgets","doc","mlx");
16-
% docOutputPath = fullfile(projectRoot,"widgets","doc","html");
17-
1819
docInputPath = fullfile(projectRoot,"widgets","doc");
1920
docOutputPath = fullfile(projectRoot,"widgets","doc");
2021

@@ -26,13 +27,13 @@
2627

2728

2829
%% Run unit tests
29-
% [testSuite, testResult] = runTestSuite;
30-
% if ~all([testResult.Passed])
31-
% error("Unit tests failed. Aborting package release.");
32-
% end
30+
[testSuite, testResult] = runTestSuite;
31+
if ~all([testResult.Passed])
32+
error("Unit tests failed. Aborting package release.");
33+
end
3334

3435

35-
%% Publish doc_input as html
36+
%% Publish doc and examples mlx as html
3637

3738
% Find the doc input ".mlx" files
3839
docInputInfo = what(docInputPath);
@@ -61,6 +62,8 @@
6162

6263

6364
%% Build search database
65+
% Create v3 for/from R2021a - R2021b
66+
% Create v4 for/from R2022a and later
6467
builddocsearchdb(docOutputPath)
6568

6669

@@ -81,10 +84,3 @@
8184

8285
releaseFolder = fullfile(projectRoot,"release");
8386
winopen(releaseFolder);
84-
85-
86-
%% Increment Version Number
87-
88-
% Increment the last part of the version number in wtDeployVersion.txt for
89-
% the next release
90-
% wt.deploy.incrementVersionNumber();
2.81 MB
Binary file not shown.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Info/>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Info location="helpsearch-v3" type="File"/>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Info/>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Info location="segments_1" type="File"/>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Info/>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Info location="segments.gen" type="File"/>

0 commit comments

Comments
 (0)