File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -170,13 +170,18 @@ $ npm install
170
170
171
171
### Publishing
172
172
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 ] .
175
175
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
177
177
178
+ ```
179
+ $ gh workflow run version.yml --raw-field version=<version>
180
+ ```
181
+
182
+ [ GitHub CLI ] : https://cli.github.com/
178
183
[ 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
180
185
181
186
## GitHub Actions
182
187
You can’t perform that action at this time.
0 commit comments