Skip to content

Commit 0623fe6

Browse files
authored
Update README.md
1 parent 3d7a540 commit 0623fe6

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,30 @@ github-release upload \
4343
archive.zip index.html app.min.css app.min.js
4444
```
4545

46+
#### Create a prerelease
47+
48+
```sh
49+
github-release upload \
50+
--owner cheton \
51+
--repo github-release-cli \
52+
--tag "v0.1.0" \
53+
--name "v0.1.0" \
54+
--body "This is a prerelease" \
55+
--prerelease
56+
```
57+
58+
#### Change a prerelease to a published release
59+
60+
```sh
61+
github-release upload \
62+
--owner cheton \
63+
--repo github-release-cli \
64+
--tag "v0.1.0" \
65+
--name "v0.1.0" \
66+
--body "This is a published release" \
67+
--prerelease=false
68+
```
69+
4670
### Delete
4771

4872
You can use glob expressions to match files:

0 commit comments

Comments
 (0)