Skip to content

Commit

Permalink
chore: bump version for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
gutentag2012 committed Dec 22, 2024
1 parent f0e3226 commit 3b18c61
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"id": "clear-todos",
"name": "Clear Todos",
"version": "1.0.2",
"version": "1.0.3",
"minAppVersion": "0.15.0",
"description": "Quickly remove all completed todos from your notes or selected text.",
"author": "Joshua Gawenda",
"authorUrl": "https://github.com/gutentag2012",
"isDesktopOnly": false
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-plugin-clear-todos",
"version": "1.0.2",
"version": "1.0.3",
"description": "This is an obsidian plugin to quickly remove all completed todos from your notes or selected text.",
"main": "main.js",
"scripts": {
Expand Down
3 changes: 2 additions & 1 deletion version-bump.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { readFileSync, writeFileSync } from "fs";

const targetVersion = process.env.npm_package_version;
const packageJson = JSON.parse(readFileSync("package.json", "utf8"));
const { version: targetVersion } = packageJson;

// read minAppVersion from manifest.json and bump version to target version
let manifest = JSON.parse(readFileSync("manifest.json", "utf8"));
Expand Down
5 changes: 3 additions & 2 deletions versions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"1.0.2": "0.15.0",
"1.0.0": "0.15.0",
"1.0.1": "0.15.0",
"1.0.0": "0.15.0"
"1.0.2": "0.15.0",
"1.0.3": "0.15.0"
}

0 comments on commit 3b18c61

Please sign in to comment.