obsidian-native-mcp 1.4.2 → 1.5.0
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.
- package/.github/workflows/release.yml +22 -4
- package/.releaserc.json +8 -0
- package/CHANGELOG.md +3 -4
- package/DEVELOPER.md +11 -3
- package/README.md +1 -1
- package/assets/banner.png +0 -0
- package/assets/icon.png +0 -0
- package/assets/transparent-icon.png +0 -0
- package/dist/plugin/manifest.json +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
|
@@ -89,10 +89,19 @@ jobs:
|
|
|
89
89
|
github.event.workflow_run.head_branch == 'main'
|
|
90
90
|
runs-on: ubuntu-latest
|
|
91
91
|
steps:
|
|
92
|
+
- name: Verify release token
|
|
93
|
+
env:
|
|
94
|
+
RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
|
95
|
+
run: |
|
|
96
|
+
if [ -z "$RELEASE_TOKEN" ]; then
|
|
97
|
+
echo "RELEASE_TOKEN secret is required so semantic-release can push release commits to protected main." >&2
|
|
98
|
+
exit 1
|
|
99
|
+
fi
|
|
100
|
+
|
|
92
101
|
- uses: actions/checkout@v6
|
|
93
102
|
with:
|
|
94
103
|
fetch-depth: 0
|
|
95
|
-
|
|
104
|
+
token: ${{ secrets.RELEASE_TOKEN }}
|
|
96
105
|
ref: ${{ github.event.workflow_run.head_sha || github.sha }}
|
|
97
106
|
|
|
98
107
|
- uses: actions/setup-node@v6
|
|
@@ -109,7 +118,7 @@ jobs:
|
|
|
109
118
|
|
|
110
119
|
- name: Semantic Release
|
|
111
120
|
env:
|
|
112
|
-
|
|
121
|
+
GH_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
|
113
122
|
run: |
|
|
114
123
|
export PATH="$PWD/node_modules/.bin:$PATH"
|
|
115
124
|
npm --version
|
|
@@ -125,10 +134,19 @@ jobs:
|
|
|
125
134
|
if: ${{ inputs.reason != '' }}
|
|
126
135
|
run: echo "Manual release reason - ${{ inputs.reason }}" >> "$GITHUB_STEP_SUMMARY"
|
|
127
136
|
|
|
137
|
+
- name: Verify release token
|
|
138
|
+
env:
|
|
139
|
+
RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
|
140
|
+
run: |
|
|
141
|
+
if [ -z "$RELEASE_TOKEN" ]; then
|
|
142
|
+
echo "RELEASE_TOKEN secret is required so semantic-release can push release commits to protected main." >&2
|
|
143
|
+
exit 1
|
|
144
|
+
fi
|
|
145
|
+
|
|
128
146
|
- uses: actions/checkout@v6
|
|
129
147
|
with:
|
|
130
148
|
fetch-depth: 0
|
|
131
|
-
|
|
149
|
+
token: ${{ secrets.RELEASE_TOKEN }}
|
|
132
150
|
ref: ${{ github.event.workflow_run.head_sha || github.sha }}
|
|
133
151
|
|
|
134
152
|
- uses: actions/setup-node@v6
|
|
@@ -145,7 +163,7 @@ jobs:
|
|
|
145
163
|
|
|
146
164
|
- name: Semantic Release
|
|
147
165
|
env:
|
|
148
|
-
|
|
166
|
+
GH_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
|
149
167
|
run: |
|
|
150
168
|
export PATH="$PWD/node_modules/.bin:$PATH"
|
|
151
169
|
npm --version
|
package/.releaserc.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"branches": ["main"],
|
|
3
|
+
"tagFormat": "${version}",
|
|
3
4
|
"plugins": [
|
|
4
5
|
"@semantic-release/commit-analyzer",
|
|
5
6
|
"@semantic-release/release-notes-generator",
|
|
@@ -11,6 +12,13 @@
|
|
|
11
12
|
"prepareCmd": "node scripts/sync-version.cjs && npm run build:plugin"
|
|
12
13
|
}
|
|
13
14
|
],
|
|
15
|
+
[
|
|
16
|
+
"@semantic-release/git",
|
|
17
|
+
{
|
|
18
|
+
"assets": ["CHANGELOG.md", "package.json", "package-lock.json", "manifest.json"],
|
|
19
|
+
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
14
22
|
[
|
|
15
23
|
"@semantic-release/github",
|
|
16
24
|
{
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
# [1.5.0](https://github.com/usrivastava92/obsidian-native-mcp/compare/1.4.2...1.5.0) (2026-05-24)
|
|
2
2
|
|
|
3
|
+
### Features
|
|
3
4
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
* **release:** align plugin version with GitHub release ([2ad9f56](https://github.com/usrivastava92/obsidian-native-mcp/commit/2ad9f5638215bb079e839ca8ebf08fdf116594dc))
|
|
5
|
+
- add branding assets and README banner ([495d8ae](https://github.com/usrivastava92/obsidian-native-mcp/commit/495d8ae5506925ec9b16a4beb31ef6f6d733f95b))
|
package/DEVELOPER.md
CHANGED
|
@@ -154,14 +154,22 @@ Add more fixtures whenever you find a new edge class — the test suite rewards
|
|
|
154
154
|
## Release process
|
|
155
155
|
|
|
156
156
|
```bash
|
|
157
|
-
# Bump version in package.json + manifest.json (the prepare hook + sync-version.cjs keep them aligned)
|
|
158
157
|
npm run check && npm run lint && npm test && npm run build && npm run build:plugin
|
|
159
158
|
npm publish
|
|
160
|
-
gh release create
|
|
159
|
+
gh release create X.Y.Z --title "X.Y.Z" --generate-notes
|
|
161
160
|
# Plugin: submit dist/plugin/ to https://github.com/obsidianmd/obsidian-releases
|
|
162
161
|
```
|
|
163
162
|
|
|
164
|
-
CI uses semantic-release on the `main` branch.
|
|
163
|
+
CI uses semantic-release on the `main` branch. The release pipeline bumps
|
|
164
|
+
`package.json`, syncs `manifest.json`, commits the versioned files back to
|
|
165
|
+
`main`, and publishes GitHub releases with bare version tags such as `1.4.2`
|
|
166
|
+
so Obsidian can match the manifest version.
|
|
167
|
+
|
|
168
|
+
Because `main` is protected, the release workflow requires a `RELEASE_TOKEN`
|
|
169
|
+
repository secret. Use a fine-grained PAT or GitHub App token whose actor is
|
|
170
|
+
allowed to bypass the `main` branch protection rule and has contents write
|
|
171
|
+
access. The default `GITHUB_TOKEN` is not enough when direct pushes to `main`
|
|
172
|
+
are blocked.
|
|
165
173
|
|
|
166
174
|
## Protocol reference
|
|
167
175
|
|
package/README.md
CHANGED
|
Binary file
|
package/assets/icon.png
ADDED
|
Binary file
|
|
Binary file
|
package/manifest.json
CHANGED
package/package.json
CHANGED