Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit721974f

Browse files
committed
Improve Repository#create_release docs
[ci skip]
1 parent58cf7a0 commit721974f

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

‎github3/repos/repo.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -730,12 +730,14 @@ def create_release(self, tag_name, target_commitish=None, name=None,
730730
body=None,draft=False,prerelease=False):
731731
"""Create a release for this repository.
732732
733-
:param str tag_name: (required)
734-
:param str target_commitish: (optional)
735-
:param str name: (optional)
736-
:param str body: (optional)
737-
:param bool draft: (optional)
738-
:param bool prerelease: (optional)
733+
:param str tag_name: (required), name to give to the tag
734+
:param str target_commitish: (optional), vague concept of a target,
735+
either a SHA or a branch name.
736+
:param str name: (optional), name of the release
737+
:param str body: (optional), description of the release
738+
:param bool draft: (optional), whether this release is a draft or not
739+
:param bool prerelease: (optional), whether this is a prerelease or
740+
not
739741
:returns: :class:`Release <github3.repos.release.Release>`
740742
"""
741743
data= {'tag_name':str(tag_name),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp