Skip to content

Commit

Permalink
[backend] set module version and release each to '1' if not specified
Browse files Browse the repository at this point in the history
  • Loading branch information
clime committed Sep 17, 2016
1 parent 2674104 commit 14c08be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/backend/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ def handle_build_module(self, result):
for chroot in chroots:
arch = get_chroot_arch(chroot)
srcdir = os.path.join(project_path, chroot)
module_tag = chroot + '+' + mmd.name + '-' + mmd.version + '-' + mmd.release
module_tag = chroot + '+' + mmd.name + '-' + (mmd.version or '1') + '-' + (mmd.release or '1')
module_relpath = os.path.join(module_tag, "latest", arch)
destdir = os.path.join(project_path, "modules", module_relpath)

Expand Down

0 comments on commit 14c08be

Please sign in to comment.