autorel 2.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -83,9 +83,9 @@ autorel --publish
83
83
  ```typescript
84
84
  import {autorel} from 'autorel';
85
85
 
86
- const nextVersion = await autorel({publish: true});
87
-
88
- console.log(`Next version is ${nextVersion}`);
86
+ autorel({publish: true}).then((nextVersion) => {
87
+ console.log(`Next version is ${nextVersion}`);
88
+ });
89
89
  ```
90
90
 
91
91
  # Usage with GitHub Actions
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autorel",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "Automate semantic releases based on conventional commits. Similar to semantic-release but much simpler.",
5
5
  "license": "MIT",
6
6
  "author": "Marc H. Weiner <mhweiner234@gmail.com> (https://mhweiner.com)",