Skip to content

Commit

Permalink
Fix manual-publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
mayank1513 committed Jun 25, 2024
1 parent 6515d38 commit f6139ec
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .tkb
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,26 @@
"id": "0o1UME_ZgqZdcbYksPgDI",
"description": "Update Docs\n- Use wiki - Export typedoc as md and then publish to wiki",
"columnId": "column-todo"
},
"UM-Jb2pIb9vEaDWML-_Qf": {
"id": "UM-Jb2pIb9vEaDWML-_Qf",
"description": "Update logo",
"columnId": "column-todo"
},
"dkbgaoz9hHeYNGjMi8R9L": {
"id": "dkbgaoz9hHeYNGjMi8R9L",
"description": "Add badges to the website",
"columnId": "column-todo"
}
},
"columns": [
{
"id": "column-todo",
"title": "To do",
"tasksIds": [
"0o1UME_ZgqZdcbYksPgDI"
"0o1UME_ZgqZdcbYksPgDI",
"UM-Jb2pIb9vEaDWML-_Qf",
"dkbgaoz9hHeYNGjMi8R9L"
]
},
{
Expand Down
2 changes: 2 additions & 0 deletions scripts/manual-publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ const NEW_VERSION = JSON.parse(
fs.readFileSync(path.resolve(__dirname, "..", "lib", "package.json")),
).version;

pkg.version = NEW_VERSION;

const [newMajor, newMinor] = NEW_VERSION.split(".");
const [oldMajor, oldMinor] = OLD_VERSION.split(".");

Expand Down

0 comments on commit f6139ec

Please sign in to comment.