diff --git a/RELEASE.md b/RELEASE.md new file mode 100644 index 0000000..e806988 --- /dev/null +++ b/RELEASE.md @@ -0,0 +1,14 @@ +## Releasing a new version + +The following step-by-step list is a simple checklist on how to create a new release of obsidian-pdf-printer. + +1. Move all relevant new features/fixes to a common branch. +2. Add a new version tag to `package.json`, following semantic versioning guidelines. +3. Run `npm install` to ensure the new version tag is written to `package-lock.json`. +4. Add the new version to `manifest.json` (version) and `versions.json` (left-hand of the `:`). +5. Push the changes to the previously chosen common branch. +6. Create a tag and push the branch files (I am using main branch as an example here): + ```bash + git tag -a "[version e.g. 0.1.2]" -m "[same version]" + git push origin [version] + ``` diff --git a/manifest.json b/manifest.json index 08e303c..b88ef44 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "pdf-printer", "name": "PDF Printer", - "version": "1.1.0", + "version": "1.1.1", "minAppVersion": "1.1.0", "description": "Convert PDF documents to images directly in your notes without external dependencies.", "author": "cubexy", diff --git a/package-lock.json b/package-lock.json index 25a47a5..adb751c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "pdf-printer", - "version": "1.1.0", + "version": "1.1.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "pdf-printer", - "version": "1.1.0", + "version": "1.1.1", "license": "MIT", "dependencies": { "uuid": "^11.1.0" @@ -17,7 +17,7 @@ "@typescript-eslint/parser": "5.29.0", "builtin-modules": "3.3.0", "esbuild": "0.25.0", - "obsidian": "*", + "obsidian": "latest", "tslib": "2.4.0", "typescript": "4.7.4" } @@ -892,9 +892,10 @@ "peer": true }, "node_modules/brace-expansion": { - "version": "1.1.11", + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", + "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", "dev": true, - "license": "MIT", "peer": true, "dependencies": { "balanced-match": "^1.0.0", diff --git a/package.json b/package.json index 0755d1b..eb210ae 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdf-printer", - "version": "1.1.0", + "version": "1.1.1", "description": "Convert your PDF notes/files to images without external dependencies.", "main": "main.js", "scripts": { diff --git a/versions.json b/versions.json index 0a1f800..ab98608 100644 --- a/versions.json +++ b/versions.json @@ -1,3 +1,3 @@ { - "1.1.0": "1.8.9" + "1.1.1": "1.8.9" }