mirror of
https://github.com/jxpeng98/obsidian-to-NotionNext
synced 2026-07-29 16:35:57 +08:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e3669e7a83 | ||
|
|
617bb370dc |
@@ -61,6 +61,9 @@ https://www.notion.so/myworkspace/a8aec43384f447ed84390e8e42c2e089?v=...
|
||||
|
||||
# 感谢
|
||||
[开发流程 | Obsidian 插件开发文档](https://luhaifeng666.github.io/obsidian-plugin-docs-zh/zh/getting-started/development-workflow.html)
|
||||
|
||||
[GitHub - devbean/obsidian-wordpress: An obsidian plugin for publishing docs to WordPress.](https://github.com/devbean/obsidian-wordpress)
|
||||
|
||||
[GitHub - obsidianmd/obsidian-api](https://github.com/obsidianmd/obsidian-api)
|
||||
[GitHub - zhaohongxuan/obsidian-weread-plugin: Obsidian Weread Plugin is an plugin to sync Weread(微信读书) hightlights and annotations into your Obsidian Vault.](https://github.com/zhaohongxuan/obsidian-weread-plugin)
|
||||
|
||||
[GitHub - zhaohongxuan/obsidian-weread-plugin: Obsidian Weread Plugin is an plugin to sync Weread(微信读书) hightlights and annotations into your Obsidian Vault.](https://github.com/zhaohongxuan/obsidian-weread-plugin)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "obsidian-to-notion",
|
||||
"name": "Obsidian shared to Notion",
|
||||
"version": "0.3.0",
|
||||
"version": "0.3.4",
|
||||
"minAppVersion": "0.0.1",
|
||||
"description": "This is a plugin for Obsidian. This plugin share obsidian md file to notion with notion api",
|
||||
"author": "Easychris",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "obsidian-to-notion",
|
||||
"version": "0.3.0",
|
||||
"version": "0.3.4",
|
||||
"type": "module",
|
||||
"description": "This is a plugin for Obsidian. This plugin share obsidian md file to notion with notion api",
|
||||
"main": "main.js",
|
||||
|
||||
4
release.sh
Executable file
4
release.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
node update-version.js $1
|
||||
git tag -a $1 -m $1
|
||||
git push origin $1
|
||||
26
update-version.js
Normal file
26
update-version.js
Normal file
@@ -0,0 +1,26 @@
|
||||
// update package.json version
|
||||
import fs from 'fs';
|
||||
|
||||
const packageJson = JSON.parse(fs.readFileSync('./package.json', 'utf8'));
|
||||
|
||||
console.log(packageJson.version);
|
||||
|
||||
|
||||
// get node args
|
||||
const args = process.argv.slice(2);
|
||||
|
||||
packageJson.version = args[0];
|
||||
|
||||
console.log(packageJson.version);
|
||||
|
||||
|
||||
// write package.json
|
||||
fs.writeFileSync('./package.json', JSON.stringify(packageJson, null, 2));
|
||||
|
||||
// read manifest.json
|
||||
const manifestJson = JSON.parse(fs.readFileSync('./manifest.json', 'utf8'));
|
||||
|
||||
manifestJson.version = args[0];
|
||||
|
||||
// write manifest.json
|
||||
fs.writeFileSync('./manifest.json', JSON.stringify(manifestJson, null, 2));
|
||||
Reference in New Issue
Block a user