diff --git a/ci/bump_version.sh b/ci/bump_version.sh new file mode 100644 index 0000000..e69de29 diff --git a/version-bump.mjs b/ci/version-bump.mjs similarity index 100% rename from version-bump.mjs rename to ci/version-bump.mjs diff --git a/current-version.txt b/current-version.txt new file mode 100644 index 0000000..7693c96 --- /dev/null +++ b/current-version.txt @@ -0,0 +1 @@ +0.1.3 \ No newline at end of file diff --git a/manifest.json b/manifest.json index 9ca150f..11d3cf4 100644 --- a/manifest.json +++ b/manifest.json @@ -7,5 +7,5 @@ "authorUrl": "https://github.com/Odaimoko", "fundingUrl": "https://ko-fi.com/odaimoko", "isDesktopOnly": true, - "version": "0.1.2" + "version": "0.1.3" } \ No newline at end of file diff --git a/package.json b/package.json index 9d54cb3..a4b3208 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,12 @@ { "name": "tag-project", - "version": "0.1.2", + "version": "0.1.3", "description": "This is a sample plugin for Obsidian (https://obsidian.md)", "main": "main.js", "scripts": { "dev": "node esbuild.config.mjs", "build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production", - "version": "node version-bump.mjs " + "version": "./ci/bump_version.sh" }, "keywords": [], "author": "", diff --git a/src/data-model/__test__/workflow-def.test.ts b/src/data-model/__test__/workflow-def.test.ts new file mode 100644 index 0000000..e3296aa --- /dev/null +++ b/src/data-model/__test__/workflow-def.test.ts @@ -0,0 +1,11 @@ +import {describe, expect, test} from "@jest/globals"; + +import {addTagText} from "../workflow-def"; + + +describe("Tag", () => + test('test', () => { + expect(addTagText("Anything", "AnyTag").endsWith(" ")) + .toBeTruthy() + }) +) \ No newline at end of file diff --git a/versions.json b/versions.json index 9dd96e2..7c20575 100644 --- a/versions.json +++ b/versions.json @@ -2,5 +2,6 @@ "0.0.1": "1.4.13", "0.1.0": "1.4.13", "0.1.1": "1.4.13", - "0.1.2": "1.4.13" + "0.1.2": "1.4.13", + "0.1.3": "1.4.13" } \ No newline at end of file