File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -170,13 +170,18 @@ $ npm install
170170
171171### Publishing
172172
173- Use the [ ` npm version` ] [ npm-version ] command to release a new version.
174- This will push a new git tag which will trigger a GitHub action .
173+ Publish a new version by triggering a [ version workflow_dispatch on GitHub Actions ] .
174+ The ` version ` input will be passed as the first argument to [ npm-version ] .
175175
176- Publishing may be triggered using a [ workflow_dispatch on GitHub Actions ] .
176+ This may be done on the web or using the [ GitHub CLI ] with
177177
178+ ```
179+ $ gh workflow run version.yml --raw-field version=<version>
180+ ```
181+
182+ [ GitHub CLI ] : https://cli.github.com/
178183[ npm-version ] : https://docs.npmjs.com/cli/version
179- [ workflow_dispatch on GitHub Actions ] : https://github.com/seamapi/makenew-tsmodule/actions?query=workflow%3Aversion
184+ [ version workflow_dispatch on GitHub Actions] : https://github.com/seamapi/makenew-tsmodule/actions?query=workflow%3Aversion
180185
181186## GitHub Actions
182187
You can’t perform that action at this time.
0 commit comments