Skip to content

Commit

Permalink
[PR #5699/25be366c backport][stable-6] Fixed github_release docs: o…
Browse files Browse the repository at this point in the history
…nly module-specific returned key is `tag` (#5701)

Fixed `github_release` docs: only module-specific returned key is `tag` (#5699)

* Fixed github_release docs: only module-specific returned key is "tag"

* Update plugins/modules/github_release.py - added a dot

Co-authored-by: Felix Fontein <felix@fontein.de>

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 25be366)

Co-authored-by: Or Bin <orbin50@gmail.com>
  • Loading branch information
patchback[bot] and OrBin authored Dec 18, 2022
1 parent 58f74b9 commit 589e8fd
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions plugins/modules/github_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,17 +108,8 @@
'''

RETURN = '''
create_release:
description:
- Version of the created release
- "For Ansible version 2.5 and later, if specified release version already exists, then State is unchanged"
- "For Ansible versions prior to 2.5, if specified release version already exists, then State is skipped"
type: str
returned: success
sample: 1.1.0
latest_release:
description: Version of the latest release
tag:
description: Version of the created/latest release.
type: str
returned: success
sample: 1.1.0
Expand Down

0 comments on commit 589e8fd

Please sign in to comment.