def publish_pushdb_changes_to_remote_scm(self, pushdb_file, coordinate, tag_name, tag_message,
                                           postscript=None):

    self._add_pushdb(pushdb_file)
    self.commit_pushdb(coordinate, postscript=postscript)
    self._push_and_tag_changes(
      tag_name=tag_name,
      tag_message='{message}{postscript}'.format(message=tag_message, postscript=postscript or '')
    )
Push pushdb changes to the remote scm repository, and then tag the commit if it succeeds.
dataset/ETHPy150Open pantsbuild/pants/src/python/pants/task/scm_publish_mixin.py/ScmPublishMixin.publish_pushdb_changes_to_remote_scm