Skip to content

Commit

Permalink
Version bump 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Zachatoo committed Apr 12, 2024
1 parent 44fc44e commit 85d30c6
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 5 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,16 @@ Deletes the currently active CSS snippet file. Only available when viewing a CSS

## Contributing

### Releasing

Releasing a new version involves the following steps:

1. Update the version in the `manifest.json`.
1. Run `npm run version` to update the versions in other related files.
1. Commit the changes.
1. Add a tag matching the version from step 1.
1. Push the changes and tags. This will trigger a GitHub action to create a release.

### Running tests

Tests are run within Obsidian, they cannot be run in a CLI. Running `npm run test` will output a plugin that has one command to run the tests. You can then run that command in Obsidian and the tests results will be output to the console in Obsidian.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "css-editor",
"name": "CSS Editor",
"version": "0.5.0",
"version": "1.0.0",
"minAppVersion": "0.15.0",
"description": "Edit CSS files within Obsidian.",
"author": "Zachatoo",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-css-editor",
"version": "0.5.0",
"version": "1.0.0",
"description": "Edit CSS files within Obsidian.",
"main": "main.js",
"scripts": {
Expand Down
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@
"0.3.1": "0.15.0",
"0.3.2": "0.15.0",
"0.4.0": "0.15.0",
"0.5.0": "0.15.0"
"0.5.0": "0.15.0",
"1.0.0": "0.15.0"
}

0 comments on commit 85d30c6

Please sign in to comment.