Skip to content

Commit 8bc8bc3

Browse files
committed
README: Fix command line usage
[ci skip]
1 parent 8a9e8a1 commit 8bc8bc3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ from the command-line:
2222

2323
```bash
2424
# create a prerelease
25-
$ githubrelease release jcfr/sandbox create --prerelease 1.0.0
25+
$ githubrelease release jcfr/sandbox create 1.0.0 --prerelease
2626

2727
# upload assets
28-
$ githubrelease asset jcfr/sandbox 1.0.0 "dist/*"
28+
$ githubrelease asset jcfr/sandbox upload 1.0.0 "dist/*"
2929

3030
# publish the release
31-
$ githubrelease release jcfr/sandbox --publish 1.0.0
31+
$ githubrelease release jcfr/sandbox publish 1.0.0
3232

3333
# or all together: create with custom name, upload assets, and publish
3434
$ githubrelease release jcfr/sandbox create 2.0.0 --publish --name "Awesome 2.0" "dist/*"

0 commit comments

Comments
 (0)