@programinglive/dev-workflow-mcp-server 1.5.4 โ 1.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -48,9 +48,60 @@ jobs:
|
|
|
48
48
|
run: |
|
|
49
49
|
node scripts/extract-release-notes.cjs "${{ steps.version.outputs.version }}" > release-notes.md
|
|
50
50
|
|
|
51
|
-
- name:
|
|
52
|
-
uses:
|
|
51
|
+
- name: Publish GitHub release
|
|
52
|
+
uses: actions/github-script@v7
|
|
53
|
+
env:
|
|
54
|
+
RELEASE_TAG: ${{ steps.version.outputs.tag }}
|
|
53
55
|
with:
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
56
|
+
script: |
|
|
57
|
+
const fs = require('fs');
|
|
58
|
+
const tag = process.env.RELEASE_TAG;
|
|
59
|
+
const owner = context.repo.owner;
|
|
60
|
+
const repo = context.repo.repo;
|
|
61
|
+
const name = `Release ${tag}`;
|
|
62
|
+
let body = '';
|
|
63
|
+
try {
|
|
64
|
+
body = fs.readFileSync('release-notes.md', 'utf8').trim();
|
|
65
|
+
} catch (error) {
|
|
66
|
+
core.warning(`Unable to read release notes file: ${error.message}`);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
const fallbackBody = 'Release notes are unavailable. Please refer to CHANGELOG.md.';
|
|
70
|
+
const payloadBody = body.length > 0 ? body : fallbackBody;
|
|
71
|
+
|
|
72
|
+
async function createRelease() {
|
|
73
|
+
core.info(`Creating release ${tag}`);
|
|
74
|
+
await github.rest.repos.createRelease({
|
|
75
|
+
owner,
|
|
76
|
+
repo,
|
|
77
|
+
tag_name: tag,
|
|
78
|
+
name,
|
|
79
|
+
body: payloadBody,
|
|
80
|
+
make_latest: 'true'
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
async function updateRelease(releaseId) {
|
|
85
|
+
core.info(`Updating existing release ${tag}`);
|
|
86
|
+
await github.rest.repos.updateRelease({
|
|
87
|
+
owner,
|
|
88
|
+
repo,
|
|
89
|
+
release_id: releaseId,
|
|
90
|
+
tag_name: tag,
|
|
91
|
+
name,
|
|
92
|
+
body: payloadBody,
|
|
93
|
+
make_latest: 'true'
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
try {
|
|
98
|
+
const existing = await github.rest.repos.getReleaseByTag({ owner, repo, tag });
|
|
99
|
+
await updateRelease(existing.data.id);
|
|
100
|
+
} catch (error) {
|
|
101
|
+
if (error.status === 404) {
|
|
102
|
+
await createRelease();
|
|
103
|
+
} else {
|
|
104
|
+
core.error(`Failed to publish release: ${error.message}`);
|
|
105
|
+
throw error;
|
|
106
|
+
}
|
|
107
|
+
}
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [1.5.6](https://github.com/programinglive/dev-workflow-mcp-server/compare/v1.5.5...v1.5.6) (2025-12-05)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### ๐ Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **ci:** update github release workflow to use github-script ([0990808](https://github.com/programinglive/dev-workflow-mcp-server/commit/099080891975f64088979ba69d78b305c5469613))
|
|
11
|
+
|
|
12
|
+
### [1.5.5](https://github.com/programinglive/dev-workflow-mcp-server/compare/v1.5.4...v1.5.5) (2025-12-05)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### ๐ Documentation
|
|
16
|
+
|
|
17
|
+
* add unreleased note for release automation ([a5478dc](https://github.com/programinglive/dev-workflow-mcp-server/commit/a5478dc5c65c3fb64576d254f9018ebe518a0c3f))
|
|
18
|
+
|
|
5
19
|
### [1.5.4](https://github.com/programinglive/dev-workflow-mcp-server/compare/v1.5.3...v1.5.4) (2025-12-05)
|
|
6
20
|
|
|
7
21
|
|
|
@@ -4,6 +4,17 @@ Authoritative history of user-visible changes for the Development Workflow MCP S
|
|
|
4
4
|
|
|
5
5
|
## Unreleased
|
|
6
6
|
|
|
7
|
+
## 1.5.5 โ 2025-12-05 โ ๐ Documentation
|
|
8
|
+
- add unreleased note for release automation (a5478dc)
|
|
9
|
+
- ensure GitHub release workflow writes release notes correctly
|
|
10
|
+
|
|
11
|
+
## 1.5.4 โ 2025-12-05 โ ๐งน Chores
|
|
12
|
+
- **ci:** add github release automation workflow (80d5ded)
|
|
13
|
+
- **release:** version 1.5.3 changes and changelog (c2698a7)
|
|
14
|
+
- run release scripts via cjs (bc241c8)
|
|
15
|
+
- **web:** update version display to 1.5.3 in docs page (25e37f3)
|
|
16
|
+
- **web:** update version display to 1.5.3 in Hero component (b478449)
|
|
17
|
+
|
|
7
18
|
## 1.5.3 โ 2025-12-05 โ ๐ Bug Fixes
|
|
8
19
|
- correct package.json version from null to 1.5.2 for npm publish (be60c99)
|
|
9
20
|
- **news:** improve error handling and form accessibility (5e0a1a8)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@programinglive/dev-workflow-mcp-server",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.6",
|
|
4
4
|
"description": "MCP server to enforce development workflow discipline",
|
|
5
5
|
"homepage": "https://devworkflow.programinglive.com/",
|
|
6
6
|
"mcpName": "io.github.programinglive/dev-workflow-mcp-server",
|