diff --git a/iga/cli.py b/iga/cli.py index ea190ec..29048e6 100644 --- a/iga/cli.py +++ b/iga/cli.py @@ -715,7 +715,8 @@ def cli(ctx, url_or_tag, all_assets=False, community=None, draft=False, if draft: _inform(f'The draft record is available at {record.draft_url}') - elif community: + elif community and not parent_id: + # Record versions (when we have a parent_id) do not go through review workflow invenio_community_send(record, community) _inform(f'The record has been submitted to community "{community}"' f' and the draft is available at {record.draft_url}')