2 Commits

Author SHA1 Message Date
5b00626258 1.0.0-alpha.3 2025-10-26 13:09:16 -04:00
79c4af55d5 feat: add Gitea support to release workflow
Add platform detection to support creating releases on both GitHub
and Gitea servers. The workflow now:
- Detects the platform using github.server_url
- Uses GitHub CLI (gh) for GitHub releases
- Uses gitea-release-action for Gitea releases
- Creates draft releases with the same artifacts on both platforms
2025-10-26 13:08:55 -04:00
4 changed files with 31 additions and 5 deletions

View File

@@ -75,7 +75,8 @@ jobs:
echo "File sizes:"
ls -lh main.js manifest.json styles.css
- name: Create draft release
- name: Create draft release (GitHub)
if: github.server_url == 'https://github.com'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
@@ -106,3 +107,28 @@ jobs:
echo "✅ Draft release created: $TAG_VERSION"
echo "Visit https://github.com/${{ github.repository }}/releases to review and publish"
- name: Create draft release (Gitea)
if: github.server_url != 'https://github.com'
uses: https://gitea.com/actions/gitea-release-action@main
with:
files: |
main.js
manifest.json
styles.css
draft: true
title: ${{ github.ref_name }}
body: |
Release ${{ github.ref_name }}
## Changes
*Add release notes here before publishing*
## Installation
1. Download main.js, manifest.json, and styles.css
2. Create a folder in .obsidian/plugins/obsidian-mcp-server/
3. Copy the three files into the folder
4. Reload Obsidian
5. Enable the plugin in Settings → Community Plugins

View File

@@ -1,7 +1,7 @@
{
"id": "obsidian-mcp-server",
"name": "MCP Server",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.3",
"minAppVersion": "0.15.0",
"description": "Exposes Obsidian vault operations via Model Context Protocol (MCP) over HTTP.",
"author": "William Ballou",

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "obsidian-mcp-server",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.3",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "obsidian-mcp-server",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.3",
"license": "MIT",
"dependencies": {
"cors": "^2.8.5",

View File

@@ -1,6 +1,6 @@
{
"name": "obsidian-mcp-server",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.3",
"description": "MCP (Model Context Protocol) server plugin for Obsidian - exposes vault operations via HTTP",
"main": "main.js",
"scripts": {