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>
pull/5705/head
Or Bin 2022-12-18 00:31:06 +02:00 committed by GitHub
parent af53271c41
commit 25be366cc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 11 deletions

View File

@ -108,17 +108,8 @@ EXAMPLES = '''
''' '''
RETURN = ''' RETURN = '''
create_release: tag:
description: description: Version of the created/latest release.
- 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
type: str type: str
returned: success returned: success
sample: 1.1.0 sample: 1.1.0