Skip to content

Commit 15ba6c6

Browse files
authored
Fix documentation to get release for a tag
1 parent ba4526a commit 15ba6c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/repo/releases.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Note: Draft releases are only visible to authenticated users who have push acces
2121
### List releases for a tag
2222

2323
```php
24-
$release = $client->api('repo')->releases()->all('twbs', 'bootstrap', 'd890eec');
24+
$release = $client->api('repo')->releases()->tag('twbs', 'bootstrap', 'd890eec');
2525
```
2626

2727
### List all releases

0 commit comments

Comments
 (0)