Skip to content

Commit

Permalink
Release Khoj version 0.6.0
Browse files Browse the repository at this point in the history
Upload styles.css via release workflow
  • Loading branch information
debanjum committed Mar 31, 2023
1 parent 8f4e5d3 commit 35aa060
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 6 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/')
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/interface/emacs/khoj.el
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
;; Author: Debanjum Singh Solanky <[email protected]>
;; 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

Expand Down
2 changes: 1 addition & 1 deletion src/interface/obsidian/manifest.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/interface/obsidian/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
1 change: 1 addition & 0 deletions src/interface/obsidian/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ function getIndexDirectoryFromBackendConfig(filepath: string) {
export async function createNote(name: string, newLeaf = false): Promise<void> {
try {
let pathPrefix: string
// @ts-ignore
switch (app.vault.getConfig('newFileLocation')) {
case 'current':
pathPrefix = (app.workspace.getActiveFile()?.parent.path ?? '') + '/'
Expand Down
3 changes: 2 additions & 1 deletion src/interface/obsidian/versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit 35aa060

Please sign in to comment.