From 35aa06067fb2b35ac79344f1af407fcc6b34083d Mon Sep 17 00:00:00 2001 From: Debanjum Singh Solanky Date: Fri, 31 Mar 2023 17:50:28 +0700 Subject: [PATCH] Release Khoj version 0.6.0 Upload styles.css via release workflow --- .github/workflows/release.yml | 8 ++++++++ manifest.json | 2 +- src/interface/emacs/khoj.el | 2 +- src/interface/obsidian/manifest.json | 2 +- src/interface/obsidian/package.json | 2 +- src/interface/obsidian/src/utils.ts | 1 + src/interface/obsidian/versions.json | 3 ++- versions.json | 3 ++- 8 files changed, 17 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 349ddeba..47cf87f1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,6 +46,13 @@ jobs: name: manifest.json path: src/interface/obsidian/manifest.json + - name: ⏫ Upload Obsidian Plugin styles.css + uses: actions/upload-artifact@v3 + with: + if-no-files-found: error + name: styles.css + path: src/interface/obsidian/styles.css + - name: 🌈 Create Release uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') @@ -54,6 +61,7 @@ jobs: files: | src/interface/obsidian/main.js src/interface/obsidian/manifest.json + src/interface/obsidian/styles.css publish_desktop_apps: name: 🖥️ Publish Desktop Apps diff --git a/manifest.json b/manifest.json index b79044c7..d096258d 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "khoj", "name": "Khoj", - "version": "0.5.0", + "version": "0.6.0", "minAppVersion": "0.15.0", "description": "Natural, Incremental Search for your Second Brain 🦅", "author": "Debanjum Singh Solanky", diff --git a/src/interface/emacs/khoj.el b/src/interface/emacs/khoj.el index 65f8a00e..d6a8f010 100644 --- a/src/interface/emacs/khoj.el +++ b/src/interface/emacs/khoj.el @@ -5,7 +5,7 @@ ;; Author: Debanjum Singh Solanky ;; Description: A search assistant for your second brain ;; Keywords: search, chat, org-mode, outlines, markdown, beancount, image -;; Version: 0.5.0 +;; Version: 0.6.0 ;; Package-Requires: ((emacs "27.1") (transient "0.3.0") (dash "2.19.1")) ;; URL: https://github.com/debanjum/khoj/tree/master/src/interface/emacs diff --git a/src/interface/obsidian/manifest.json b/src/interface/obsidian/manifest.json index b79044c7..d096258d 100644 --- a/src/interface/obsidian/manifest.json +++ b/src/interface/obsidian/manifest.json @@ -1,7 +1,7 @@ { "id": "khoj", "name": "Khoj", - "version": "0.5.0", + "version": "0.6.0", "minAppVersion": "0.15.0", "description": "Natural, Incremental Search for your Second Brain 🦅", "author": "Debanjum Singh Solanky", diff --git a/src/interface/obsidian/package.json b/src/interface/obsidian/package.json index 48d78340..3779a9d4 100644 --- a/src/interface/obsidian/package.json +++ b/src/interface/obsidian/package.json @@ -1,6 +1,6 @@ { "name": "Khoj", - "version": "0.5.0", + "version": "0.6.0", "description": "Natural, Incremental Search for your Second Brain 🦅", "main": "src/main.js", "scripts": { diff --git a/src/interface/obsidian/src/utils.ts b/src/interface/obsidian/src/utils.ts index c7cc2ef0..20e75574 100644 --- a/src/interface/obsidian/src/utils.ts +++ b/src/interface/obsidian/src/utils.ts @@ -143,6 +143,7 @@ function getIndexDirectoryFromBackendConfig(filepath: string) { export async function createNote(name: string, newLeaf = false): Promise { try { let pathPrefix: string + // @ts-ignore switch (app.vault.getConfig('newFileLocation')) { case 'current': pathPrefix = (app.workspace.getActiveFile()?.parent.path ?? '') + '/' diff --git a/src/interface/obsidian/versions.json b/src/interface/obsidian/versions.json index 6c060d95..c253f93c 100644 --- a/src/interface/obsidian/versions.json +++ b/src/interface/obsidian/versions.json @@ -4,5 +4,6 @@ "0.2.6": "0.15.0", "0.3.0": "0.15.0", "0.4.0": "0.15.0", - "0.5.0": "0.15.0" + "0.5.0": "0.15.0", + "0.6.0": "0.15.0" } diff --git a/versions.json b/versions.json index 6c060d95..c253f93c 100644 --- a/versions.json +++ b/versions.json @@ -4,5 +4,6 @@ "0.2.6": "0.15.0", "0.3.0": "0.15.0", "0.4.0": "0.15.0", - "0.5.0": "0.15.0" + "0.5.0": "0.15.0", + "0.6.0": "0.15.0" }