autorel 1.0.1 → 1.0.3

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 +10 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -258,12 +258,18 @@ The version to use for the release INSTEAD of the version being generated. Alway
258
258
 
259
259
  <sub>_.autorel.yaml_</sub>
260
260
  ```yaml
261
+ # Define the branches and their respective channels
261
262
  branches:
262
- - {name: main}
263
- - {name: next, channel: next}
264
- - {name: beta, channel: beta}
263
+ - {name: 'main'}
264
+ - {name: 'next', channel: 'next'}
265
+
266
+ # Enable publishing to NPM
265
267
  publish: true
266
- run: echo 'Hello, World!'
268
+
269
+ # Run custom script after publish
270
+ runScript: |
271
+ echo "$(date +"%Y-%m-%d") ${NEXT_VERSION}" >> versions.txt
272
+ aws s3 sync . s3://my-bucket
267
273
  ```
268
274
 
269
275
  # Types
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autorel",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
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)",