From 6bba9536eb159799cab56fbabc3eb8226a323b39 Mon Sep 17 00:00:00 2001 From: Jose Luis Rivero Date: Fri, 14 Feb 2025 16:12:29 +0100 Subject: [PATCH] releasepy: push only the tag of the release Signed-off-by: Jose Luis Rivero --- release.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release.py b/release.py index d92d77e76..77a6205f3 100755 --- a/release.py +++ b/release.py @@ -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')