From cb98d70ce80e9c19c0b03410cc0b0ceafb7d5fc1 Mon Sep 17 00:00:00 2001 From: asyouplz <136051230+asyouplz@users.noreply.github.com> Date: Wed, 28 Jan 2026 17:57:45 +0900 Subject: [PATCH] fix(ci): add semantic-release configuration (#59) * fix(review): resolve obsidian bot validation errors (metadata, lint, ui) * feat(release): prepare version 4.1.0 * fix(ci): add semantic-release configuration --- manifest.json | 4 ++-- release.config.js | 43 +++++++++++++++++++++++++++++++++++++++++++ versions.json | 5 +++-- 3 files changed, 48 insertions(+), 4 deletions(-) create mode 100644 release.config.js diff --git a/manifest.json b/manifest.json index e214132..cba3533 100644 --- a/manifest.json +++ b/manifest.json @@ -1,11 +1,11 @@ { "id": "speechnote", "name": "Speech to Text", - "version": "4.0.1", + "version": "4.1.0", "minAppVersion": "0.15.0", "description": "Convert audio recordings to text in Obsidian using multiple AI providers (OpenAI Whisper, Deepgram)", "author": "Taesun Lee", "authorUrl": "https://github.com/asyouplz", "fundingUrl": "", "isDesktopOnly": false -} \ No newline at end of file +} diff --git a/release.config.js b/release.config.js new file mode 100644 index 0000000..9e34f64 --- /dev/null +++ b/release.config.js @@ -0,0 +1,43 @@ +module.exports = { + branches: ['main'], + plugins: [ + '@semantic-release/commit-analyzer', + '@semantic-release/release-notes-generator', + '@semantic-release/changelog', + [ + '@semantic-release/npm', + { + npmPublish: false, + }, + ], + [ + '@semantic-release/exec', + { + prepareCmd: 'node scripts/update-version.mjs ${nextRelease.version}', + }, + ], + [ + '@semantic-release/git', + { + assets: [ + 'CHANGELOG.md', + 'package.json', + 'package-lock.json', + 'manifest.json', + 'versions.json', + ], + message: 'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}', + }, + ], + [ + '@semantic-release/github', + { + assets: [ + { path: 'main.js', label: 'main.js' }, + { path: 'manifest.json', label: 'manifest.json' }, + { path: 'styles.css', label: 'styles.css' }, + ], + }, + ], + ], +}; diff --git a/versions.json b/versions.json index fd176ee..2c7da21 100644 --- a/versions.json +++ b/versions.json @@ -15,5 +15,6 @@ "3.0.11": "0.15.0", "3.0.12": "0.15.0", "4.0.0": "0.15.0", - "4.0.1": "0.15.0" -} \ No newline at end of file + "4.0.1": "0.15.0", + "4.1.0": "0.15.0" +}