Skip to content

Commit 35aa060

Browse files
committed
Release Khoj version 0.6.0
Upload styles.css via release workflow
1 parent 8f4e5d3 commit 35aa060

File tree

8 files changed

+17
-6
lines changed

8 files changed

+17
-6
lines changed

.github/workflows/release.yml

+8
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ jobs:
4646
name: manifest.json
4747
path: src/interface/obsidian/manifest.json
4848

49+
- name: ⏫ Upload Obsidian Plugin styles.css
50+
uses: actions/upload-artifact@v3
51+
with:
52+
if-no-files-found: error
53+
name: styles.css
54+
path: src/interface/obsidian/styles.css
55+
4956
- name: 🌈 Create Release
5057
uses: softprops/action-gh-release@v1
5158
if: startsWith(github.ref, 'refs/tags/')
@@ -54,6 +61,7 @@ jobs:
5461
files: |
5562
src/interface/obsidian/main.js
5663
src/interface/obsidian/manifest.json
64+
src/interface/obsidian/styles.css
5765
5866
publish_desktop_apps:
5967
name: 🖥️ Publish Desktop Apps

manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "khoj",
33
"name": "Khoj",
4-
"version": "0.5.0",
4+
"version": "0.6.0",
55
"minAppVersion": "0.15.0",
66
"description": "Natural, Incremental Search for your Second Brain 🦅",
77
"author": "Debanjum Singh Solanky",

src/interface/emacs/khoj.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
;; Author: Debanjum Singh Solanky <[email protected]>
66
;; Description: A search assistant for your second brain
77
;; Keywords: search, chat, org-mode, outlines, markdown, beancount, image
8-
;; Version: 0.5.0
8+
;; Version: 0.6.0
99
;; Package-Requires: ((emacs "27.1") (transient "0.3.0") (dash "2.19.1"))
1010
;; URL: https://github.com/debanjum/khoj/tree/master/src/interface/emacs
1111

src/interface/obsidian/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "khoj",
33
"name": "Khoj",
4-
"version": "0.5.0",
4+
"version": "0.6.0",
55
"minAppVersion": "0.15.0",
66
"description": "Natural, Incremental Search for your Second Brain 🦅",
77
"author": "Debanjum Singh Solanky",

src/interface/obsidian/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Khoj",
3-
"version": "0.5.0",
3+
"version": "0.6.0",
44
"description": "Natural, Incremental Search for your Second Brain 🦅",
55
"main": "src/main.js",
66
"scripts": {

src/interface/obsidian/src/utils.ts

+1
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ function getIndexDirectoryFromBackendConfig(filepath: string) {
143143
export async function createNote(name: string, newLeaf = false): Promise<void> {
144144
try {
145145
let pathPrefix: string
146+
// @ts-ignore
146147
switch (app.vault.getConfig('newFileLocation')) {
147148
case 'current':
148149
pathPrefix = (app.workspace.getActiveFile()?.parent.path ?? '') + '/'

src/interface/obsidian/versions.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
"0.2.6": "0.15.0",
55
"0.3.0": "0.15.0",
66
"0.4.0": "0.15.0",
7-
"0.5.0": "0.15.0"
7+
"0.5.0": "0.15.0",
8+
"0.6.0": "0.15.0"
89
}

versions.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
"0.2.6": "0.15.0",
55
"0.3.0": "0.15.0",
66
"0.4.0": "0.15.0",
7-
"0.5.0": "0.15.0"
7+
"0.5.0": "0.15.0",
8+
"0.6.0": "0.15.0"
89
}

0 commit comments

Comments
 (0)