Skip to content

Commit

Permalink
Merge pull request #18 from YakDriver/fix-env
Browse files Browse the repository at this point in the history
Fix env
  • Loading branch information
YakDriver authored Jul 3, 2019
2 parents 23e6739 + a484eb5 commit c0bba05
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.5.0
current_version = 0.5.1
commit = False
tag = False
tag_name = {new_version}
Expand Down
4 changes: 2 additions & 2 deletions scratchrelaxtv/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import re


__version__ = "0.5.0"
__version__ = "0.5.1"
EXIT_OKAY = 0
EXIT_NOT_OKAY = 1

Expand Down Expand Up @@ -265,7 +265,7 @@ def _write_env(self):
file_handle.write('unset "${!TF_VAR_@}"\n')
for tf_var in self.tf_vars:
file_handle.write("".join([
'TF_VAR_',
'export TF_VAR_',
tf_var,
"=replace\n"]))

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = scratchrelaxtv
description = Terraform developer tool to extract variables and generate variables.tf files.
long_description = file: README.md, CHANGELOG.md
long_description_content_type = text/markdown
version = 0.5.0
version = 0.5.1
author = YakDriver
author_email = [email protected]
url = https://github.com/YakDriver/scratchrelaxtv
Expand Down
20 changes: 10 additions & 10 deletions tests/.env.1
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
unset "${!TF_VAR_@}"
TF_VAR_acl=replace
TF_VAR_bucket=replace
TF_VAR_create_2=replace
TF_VAR_create_keystore_bucket=replace
TF_VAR_org_ids=replace
TF_VAR_prefix=replace
TF_VAR_problem_var=replace
TF_VAR_region=replace
TF_VAR_tags=replace
TF_VAR_versioning=replace
export TF_VAR_acl=replace
export TF_VAR_bucket=replace
export TF_VAR_create_2=replace
export TF_VAR_create_keystore_bucket=replace
export TF_VAR_org_ids=replace
export TF_VAR_prefix=replace
export TF_VAR_problem_var=replace
export TF_VAR_region=replace
export TF_VAR_tags=replace
export TF_VAR_versioning=replace

0 comments on commit c0bba05

Please sign in to comment.