Skip to content

Commit

Permalink
SQUASH bitbake/run.py: Don't generate files/* if given --only (ros-in…
Browse files Browse the repository at this point in the history
  • Loading branch information
herb-kuta-lge committed Oct 7, 2019
1 parent 275ac7e commit a5c582b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions superflore/generators/bitbake/ros_meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,11 @@ def commit_changes(self, distro, commit_msg):
'files/{0}/newer-platform-components.list'.format(distro))
self.repo.git.add(
'files/{0}/superflore-change-summary.txt'.format(distro))
info('Committing to branch {0}...'.format(self.branch_name))
self.repo.git.commit(m=commit_msg)
if self.repo.git.status('--porcelain') == '':
info('Nothing changed; no commit done')
else:
info('Committing to branch {0}...'.format(self.branch_name))
self.repo.git.commit(m=commit_msg)

def pull_request(self, message, distro=None, title=''):
self.repo.pull_request(message, title, branch=distro)
Expand Down

0 comments on commit a5c582b

Please sign in to comment.