Skip to content

Commit 3d36b7f

Browse files
committed
update publish.yml
1 parent a33b4fc commit 3d36b7f

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ jobs:
99
build:
1010
name: Build
1111
runs-on: ubuntu-latest
12+
outputs:
13+
tag: ${{ steps.update-package-version.outputs.version }}
1214
steps:
1315
- uses: actions/checkout@v5
1416
- name: Configure git
@@ -21,6 +23,7 @@ jobs:
2123

2224
# Update package.json version to match the release tag
2325
- name: Update package version
26+
id: update-package-version
2427
run: |
2528
git tag -d "${{ github.event.release.tag_name }}"
2629
VERSION=$(npm version "${{ github.event.release.tag_name }}" --no-git-tag-version)
@@ -34,6 +37,7 @@ jobs:
3437

3538
# Create release with built artifacts
3639
- name: Create release artifacts
40+
id: release_info
3741
run: |
3842
# Validate semantic versioning
3943
longVersion="${{github.event.release.tag_name}}"
@@ -51,4 +55,5 @@ jobs:
5155
git tag -f -a -m "Release $longVersion" $longVersion
5256
5357
# Push the release tag
58+
echo "Pushing new tag"
5459
git push -f origin $longVersion

plugins/+ciplugins/+github/BuildSummaryPlugin.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
% rename and restructure all plugins
22
classdef BuildSummaryPlugin < matlab.buildtool.plugins.BuildRunnerPlugin
33

4-
% Copyright 2024 The MathWorks, Inc.
4+
% Copyright 2024-25 The MathWorks, Inc.
55

66
properties (Access=private)
77
TaskDetails = {};

plugins/+ciplugins/+github/GitHubLogBuildRunnerPlugin.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
classdef GitHubLogBuildRunnerPlugin < matlab.buildtool.plugins.BuildRunnerPlugin
22

3-
% Copyright 2024 The MathWorks, Inc.
3+
% Copyright 2024-25 The MathWorks, Inc.
44

55
methods (Access=protected)
66

0 commit comments

Comments
 (0)