Skip to content

Commit

Permalink
releasepy: push only the tag of the release
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Luis Rivero <[email protected]>
  • Loading branch information
j-rivero committed Feb 14, 2025
1 parent 1da3adc commit 6bba953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ def tag_repo(args):
# tilde is not a valid character in git
tag = '%s_%s' % (args.package_alias, args.version.replace('~', '-'))
check_call(['git', 'tag', '-f', tag])
check_call(['git', 'push', '--tags'])
check_call(['git', 'push', 'origin', 'tag', tag])
except ErrorNoPermsRepo:
print('The Git server reports problems with permissions')
print('The branch could be blocked by configuration if you do not have')
Expand Down

0 comments on commit 6bba953

Please sign in to comment.