Publish master creation

This commit is contained in:
Patrick Uiterwijk 2015-02-24 09:48:16 +00:00
parent 1365500c17
commit 2c7598455b

View file

@ -190,6 +190,15 @@ def branch_package(pkgname, branches):
os.path.join(GIT_FOLDER, '%s.git' % pkgname)):
_invoke(SETUP_PACKAGE, [pkgname])
branches.remove('master') # SETUP_PACKAGE creates master
fedmsg.publish(
topic='branch',
modname='git',
msg=dict(
agent='pkgdb',
name=pkgname,
branch='master',
),
)
# Create all the required branches for the package
# Use the translated branch name until pkgdb falls inline