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" +}