Skip to content

Commit 11c3ba6

Browse files
committed
Update publishing instruction
1 parent e50835f commit 11c3ba6

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)