|
|
@ -26,7 +26,7 @@ class RsyncSRPMSReleaser(RsyncReleaser): |
|
|
|
prefix="temp_dir=", **kwargs): |
|
|
|
prefix="temp_dir=", **kwargs): |
|
|
|
if target == 'branch': |
|
|
|
if target == 'branch': |
|
|
|
target = run_command('git symbolic-ref --short HEAD') |
|
|
|
target = run_command('git symbolic-ref --short HEAD') |
|
|
|
if target in [ 'el5', 'el6', 'el7', 'sme9', 'sme10' ]: |
|
|
|
if target in [ 'el5', 'el6', 'el7', 'el8','sme9', 'sme10' ]: |
|
|
|
# Call ourselve with the new target |
|
|
|
# Call ourselve with the new target |
|
|
|
self.__init__(name, tag, build_dir, config, |
|
|
|
self.__init__(name, tag, build_dir, config, |
|
|
|
user_config, target, releaser_config, no_cleanup, test, |
|
|
|
user_config, target, releaser_config, no_cleanup, test, |
|
|
|