[FIX] Packaging: allow publishing releases in --no-testing
This commit is contained in:
parent
b747b3d30b
commit
cc11331733
|
@ -370,36 +370,36 @@ def main():
|
||||||
try:
|
try:
|
||||||
if not o.no_tarball:
|
if not o.no_tarball:
|
||||||
build_tgz(o)
|
build_tgz(o)
|
||||||
if not o.no_testing:
|
try:
|
||||||
try:
|
if not o.no_testing:
|
||||||
test_tgz(o)
|
test_tgz(o)
|
||||||
publish(o, 'odoo.tar.gz')
|
publish(o, 'odoo.tar.gz')
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
print("Won't publish the tgz release.\n Exception: %s" % str(e))
|
print("Won't publish the tgz release.\n Exception: %s" % str(e))
|
||||||
if not o.no_debian:
|
if not o.no_debian:
|
||||||
build_deb(o)
|
build_deb(o)
|
||||||
if not o.no_testing:
|
try:
|
||||||
try:
|
if not o.no_testing:
|
||||||
test_deb(o)
|
test_deb(o)
|
||||||
publish(o, ['odoo.deb', 'odoo.dsc', 'odoo_amd64.changes', 'odoo.deb.tar.gz'])
|
publish(o, ['odoo.deb', 'odoo.dsc', 'odoo_amd64.changes', 'odoo.deb.tar.gz'])
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
print("Won't publish the deb release.\n Exception: %s" % str(e))
|
print("Won't publish the deb release.\n Exception: %s" % str(e))
|
||||||
if not o.no_rpm:
|
if not o.no_rpm:
|
||||||
build_rpm(o)
|
build_rpm(o)
|
||||||
if not o.no_testing:
|
try:
|
||||||
try:
|
if not o.no_testing:
|
||||||
test_rpm(o)
|
test_rpm(o)
|
||||||
publish(o, ['odoo.noarch.rpm', 'odoo.src.rpm'])
|
publish(o, ['odoo.noarch.rpm', 'odoo.src.rpm'])
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
print("Won't publish the rpm release.\n Exception: %s" % str(e))
|
print("Won't publish the rpm release.\n Exception: %s" % str(e))
|
||||||
if not o.no_windows:
|
if not o.no_windows:
|
||||||
build_exe(o)
|
build_exe(o)
|
||||||
if not o.no_testing:
|
try:
|
||||||
try:
|
if not o.no_testing:
|
||||||
test_exe(o)
|
test_exe(o)
|
||||||
publish(o, 'odoo.exe')
|
publish(o, 'odoo.exe')
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
print("Won't publish the exe release.\n Exception: %s" % str(e))
|
print("Won't publish the exe release.\n Exception: %s" % str(e))
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
finally:
|
finally:
|
||||||
|
|
Loading…
Reference in New Issue