diff --git a/phen.py b/phen.py index 216a73aa7941c53f71cc1a259d199cfd7cb95288..7af3ebc021b948524817aebbd40d22dba54f6889 100644 --- a/phen.py +++ b/phen.py @@ -82,8 +82,6 @@ def init(phen_dir, remote_url): phen_path.mkdir(parents=True, exist_ok=True) print(f"Phen directory '{phen_path}' has been created.") repo = git.Repo.init(phen_path) - #repo.create_tag(initial_version, message=f"Release {initial_version}") - # check if the phen path has already been configured which would be the case for remote clones config_path = phen_path / CONFIG_FILE @@ -100,7 +98,7 @@ def init(phen_dir, remote_url): keep_path = output_path / '.gitkeep' keep_path.touch(exist_ok=True) # create empty config file - initial_version = "v1.0.1" + initial_version = "v1.0.0" config = { "concept_sets": { "version": initial_version, @@ -126,6 +124,7 @@ def init(phen_dir, remote_url): repo.git.add(all=True) msg = "Initialized phen git repo." repo.index.commit(msg) + #repo.create_tag(initial_version, message=f"Release {initial_version}") print(msg) else: print(f"Phenotype configuration files already exist")