Skip to content

Commit a8ef0d9

Browse files
Start release increment at 1.
Per discussion in #409 This is what most distributions default to and expect.
1 parent 3f7df8f commit a8ef0d9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bloom/commands/git/release.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ def process_track_settings(track_dict, release_inc_override):
227227
settings['ros_distro'] = track_dict['ros_distro']
228228
# Release increment
229229
if 'last_version' in track_dict and track_dict['last_version'] != version:
230-
next_release_inc = str(0)
230+
next_release_inc = str(1)
231231
else:
232232
next_release_inc = str(int(track_dict['release_inc']) + 1)
233233
settings['release_inc'] = release_inc_override or next_release_inc

bloom/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def __str__(self):
190190
'patches': PromptEntry('Patches Directory', spec=config_spec['patches']),
191191
'ros_distro': PromptEntry('ROS Distro', default='indigo', spec=config_spec['ros_distro']),
192192
'release_repo_url': PromptEntry('Release Repository Push URL', spec=config_spec['release_repo_url']),
193-
'release_inc': -1,
193+
'release_inc': 0,
194194
'actions': [
195195
'bloom-export-upstream :{vcs_local_uri} :{vcs_type}'
196196
' --tag :{release_tag} --display-uri :{vcs_uri}'

0 commit comments

Comments
 (0)