Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

Commit

Permalink
OpenConceptLab/ocl_issues#148: Automatically create released CIEL sou…
Browse files Browse the repository at this point in the history
…rce version with QA/Demo deployments

- Create a 'released' version
  • Loading branch information
karuhanga committed Oct 6, 2019
1 parent 0129daa commit 2d365ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocl/oclapi/management/commands/import_demo_data.py
Expand Up @@ -38,7 +38,7 @@ def handle(self, *args, **options):
importer = MappingsImporter(source, demo_file, OutputWrapper(sys.stdout), OutputWrapper(sys.stderr), user)
importer.import_mappings(**options)

new_version = SourceVersion.for_base_object(source, version)
new_version = SourceVersion.for_base_object(source, version, released=True)
new_version.full_clean()
new_version.save()
new_version.seed_concepts()
Expand Down

0 comments on commit 2d365ba

Please sign in to comment.