Skip to content

Commit d2440cc

Browse files
arbrandesclaude
andcommitted
fix: publish 2.x on the latest channel; drop broken release assets
Normalize the release config to main's plugins-array form and publish the 2.x line to the `latest` dist-tag. Putting a maintenance branch on `latest` is safe only because the 2.x line publishes a different npm package (@edx/frontend-plugin-notifications) than release/main (@openedx/frontend-app-notifications), so their `latest` tags are independent. If they shared a package, the maintenance and release lines would clobber each other's `latest`, and 2.x would have to keep its own channel instead. Also drop the dist/* GitHub release asset upload, which fails under the current @semantic-release/github stack, and keep success/fail disabled to preserve existing behavior. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 0c7fe0c commit d2440cc

1 file changed

Lines changed: 6 additions & 21 deletions

File tree

.releaserc

Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,15 @@
11
{
22
"branches": [
3-
{ "name": "release", "channel": "latest" },
3+
"release",
44
{ "name": "main", "prerelease": "alpha", "channel": "alpha" },
5-
"2.x"
5+
{ "name": "2.x", "channel": "latest" }
66
],
77
"tagFormat": "v${version}",
8-
"verifyConditions": [
8+
"plugins": [
9+
"@semantic-release/commit-analyzer",
10+
"@semantic-release/release-notes-generator",
911
"@semantic-release/npm",
10-
{
11-
"path": "@semantic-release/github",
12-
"assets": {
13-
"path": "dist/*"
14-
}
15-
}
16-
],
17-
"analyzeCommits": "@semantic-release/commit-analyzer",
18-
"generateNotes": "@semantic-release/release-notes-generator",
19-
"prepare": "@semantic-release/npm",
20-
"publish": [
21-
"@semantic-release/npm",
22-
{
23-
"path": "@semantic-release/github",
24-
"assets": {
25-
"path": "dist/*"
26-
}
27-
}
12+
"@semantic-release/github"
2813
],
2914
"success": [],
3015
"fail": []

0 commit comments

Comments
 (0)