autorel 2.0.0 → 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.
- package/README.md +4 -4
- 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
|
-
|
|
87
|
-
|
|
88
|
-
|
|
86
|
+
autorel({publish: true}).then((nextVersion) => {
|
|
87
|
+
console.log(`Next version is ${nextVersion}`);
|
|
88
|
+
});
|
|
89
89
|
```
|
|
90
90
|
|
|
91
91
|
# Usage with GitHub Actions
|
|
@@ -284,7 +284,7 @@ The version to use for the release INSTEAD of the version being generated. Alway
|
|
|
284
284
|
# Define the branches and their respective channels
|
|
285
285
|
branches:
|
|
286
286
|
- {name: 'main'}
|
|
287
|
-
- {name: 'next',
|
|
287
|
+
- {name: 'next', prereleaseChannel: 'next'}
|
|
288
288
|
|
|
289
289
|
# Enable publishing to NPM
|
|
290
290
|
publish: true
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "autorel",
|
|
3
|
-
"version": "2.0.
|
|
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)",
|