aboutsummaryrefslogtreecommitdiff
path: root/release.config.js
diff options
context:
space:
mode:
authoromagdy7 <omar.professional8777@gmail.com>2023-11-03 17:57:35 +0200
committeromagdy7 <omar.professional8777@gmail.com>2023-11-03 17:57:35 +0200
commitdd4299a4de8a31802a4551d631c67836484d9699 (patch)
treebae16e70a7000533316b01ae30e8982d20255d51 /release.config.js
parent189d9e8173049aac2cb9f0aea923e339bfc76de7 (diff)
downloadollama-logseq-dd4299a4de8a31802a4551d631c67836484d9699.tar.xz
ollama-logseq-dd4299a4de8a31802a4551d631c67836484d9699.zip
Moved to react instead of vanilla js and added the basic skeleton of the plgin
Diffstat (limited to 'release.config.js')
-rw-r--r--release.config.js33
1 files changed, 33 insertions, 0 deletions
diff --git a/release.config.js b/release.config.js
new file mode 100644
index 0000000..e4eebd9
--- /dev/null
+++ b/release.config.js
@@ -0,0 +1,33 @@
+module.exports = {
+ branches: ["master"],
+ plugins: [
+ [
+ "@semantic-release/commit-analyzer",
+ {
+ preset: "conventionalcommits",
+ },
+ ],
+ "@semantic-release/release-notes-generator",
+ "@semantic-release/changelog",
+ [
+ "@semantic-release/npm",
+ {
+ npmPublish: false,
+ },
+ ],
+ "@semantic-release/git",
+ [
+ "@semantic-release/exec",
+ {
+ prepareCmd:
+ "zip -qq -r logseq-plugin-template-react-${nextRelease.version}.zip dist readme.md logo.svg LICENSE package.json",
+ },
+ ],
+ [
+ "@semantic-release/github",
+ {
+ assets: "logseq-plugin-template-react-*.zip",
+ },
+ ],
+ ],
+};