autorel 2.6.19 → 2.6.20
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 +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -89,7 +89,7 @@ When autorel runs, it follows this sequence:
|
|
|
89
89
|
4. **Run pre-release tasks** - Executes `preRun` scripts (tests, builds, etc.) if configured
|
|
90
90
|
5. **Create git tag** - Tags the current commit with the new version
|
|
91
91
|
6. **Create GitHub release** - Creates a release on GitHub with changelog (unless `--skip-release`)
|
|
92
|
-
7. **Update package.json** - Updates version
|
|
92
|
+
7. **Update package.json** - Updates package.json "version" field locally (not an additional commit)
|
|
93
93
|
8. **Publish to npm** - Publishes package if `--publish` is set
|
|
94
94
|
9. **Restore package.json** - Immediately restores package.json to original version (always happens, even if publish fails)
|
|
95
95
|
10. **Run post-release scripts** - Executes `run` scripts with `NEXT_VERSION` and `NEXT_TAG` environment variables
|
|
@@ -262,7 +262,7 @@ To publish packages to npm, you need authentication:
|
|
|
262
262
|
### About package.json Versions
|
|
263
263
|
|
|
264
264
|
When using npm publishing, autorel:
|
|
265
|
-
1.
|
|
265
|
+
1. Updates `package.json` version locally (not commited)
|
|
266
266
|
2. Publishes to npm with that version
|
|
267
267
|
3. **Immediately restores** `package.json` to the original version (even if publish fails)
|
|
268
268
|
4. Then runs post-release scripts (`--run`)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "autorel",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.20",
|
|
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)",
|