Release Khoj version 0.6.0

Upload styles.css via release workflow
This commit is contained in:
Debanjum Singh Solanky 2023-03-31 17:50:28 +07:00
parent 8f4e5d3d83
commit 35aa06067f
8 changed files with 17 additions and 6 deletions

View file

@ -46,6 +46,13 @@ jobs:
name: manifest.json name: manifest.json
path: src/interface/obsidian/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 - name: 🌈 Create Release
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/') if: startsWith(github.ref, 'refs/tags/')
@ -54,6 +61,7 @@ jobs:
files: | files: |
src/interface/obsidian/main.js src/interface/obsidian/main.js
src/interface/obsidian/manifest.json src/interface/obsidian/manifest.json
src/interface/obsidian/styles.css
publish_desktop_apps: publish_desktop_apps:
name: 🖥️ Publish Desktop Apps name: 🖥️ Publish Desktop Apps

View file

@ -1,7 +1,7 @@
{ {
"id": "khoj", "id": "khoj",
"name": "Khoj", "name": "Khoj",
"version": "0.5.0", "version": "0.6.0",
"minAppVersion": "0.15.0", "minAppVersion": "0.15.0",
"description": "Natural, Incremental Search for your Second Brain 🦅", "description": "Natural, Incremental Search for your Second Brain 🦅",
"author": "Debanjum Singh Solanky", "author": "Debanjum Singh Solanky",

View file

@ -5,7 +5,7 @@
;; Author: Debanjum Singh Solanky <debanjum@gmail.com> ;; Author: Debanjum Singh Solanky <debanjum@gmail.com>
;; Description: A search assistant for your second brain ;; Description: A search assistant for your second brain
;; Keywords: search, chat, org-mode, outlines, markdown, beancount, image ;; 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")) ;; Package-Requires: ((emacs "27.1") (transient "0.3.0") (dash "2.19.1"))
;; URL: https://github.com/debanjum/khoj/tree/master/src/interface/emacs ;; URL: https://github.com/debanjum/khoj/tree/master/src/interface/emacs

View file

@ -1,7 +1,7 @@
{ {
"id": "khoj", "id": "khoj",
"name": "Khoj", "name": "Khoj",
"version": "0.5.0", "version": "0.6.0",
"minAppVersion": "0.15.0", "minAppVersion": "0.15.0",
"description": "Natural, Incremental Search for your Second Brain 🦅", "description": "Natural, Incremental Search for your Second Brain 🦅",
"author": "Debanjum Singh Solanky", "author": "Debanjum Singh Solanky",

View file

@ -1,6 +1,6 @@
{ {
"name": "Khoj", "name": "Khoj",
"version": "0.5.0", "version": "0.6.0",
"description": "Natural, Incremental Search for your Second Brain 🦅", "description": "Natural, Incremental Search for your Second Brain 🦅",
"main": "src/main.js", "main": "src/main.js",
"scripts": { "scripts": {

View file

@ -143,6 +143,7 @@ function getIndexDirectoryFromBackendConfig(filepath: string) {
export async function createNote(name: string, newLeaf = false): Promise<void> { export async function createNote(name: string, newLeaf = false): Promise<void> {
try { try {
let pathPrefix: string let pathPrefix: string
// @ts-ignore
switch (app.vault.getConfig('newFileLocation')) { switch (app.vault.getConfig('newFileLocation')) {
case 'current': case 'current':
pathPrefix = (app.workspace.getActiveFile()?.parent.path ?? '') + '/' pathPrefix = (app.workspace.getActiveFile()?.parent.path ?? '') + '/'

View file

@ -4,5 +4,6 @@
"0.2.6": "0.15.0", "0.2.6": "0.15.0",
"0.3.0": "0.15.0", "0.3.0": "0.15.0",
"0.4.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"
} }

View file

@ -4,5 +4,6 @@
"0.2.6": "0.15.0", "0.2.6": "0.15.0",
"0.3.0": "0.15.0", "0.3.0": "0.15.0",
"0.4.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"
} }