File tree Expand file tree Collapse file tree 6 files changed +29
-4
lines changed
Expand file tree Collapse file tree 6 files changed +29
-4
lines changed Original file line number Diff line number Diff line change 11[bumpversion]
2- current_version = 0.2.0
2+ current_version = 0.2.1
33commit = False
44tag = False
55tag_name = {new_version}
Original file line number Diff line number Diff line change 11# CHANGE LOG
22
3+ ## 0.2.1 - 2019.04.25
4+
5+ * Fix inconsequential error thrown when removing files
6+
7+ ## 0.2.0 - 2019.04.25
8+
9+ * Add capability to delete extra working files
10+
311## 0.1.3 - 2019.04.17
412
513* Add module stub capability
Original file line number Diff line number Diff line change 11![ scratch relax tv] ( https://github.com/YakDriver/scratchrelaxtv/raw/master/assets/srt.gif " Extract HCL Vars ")
22
3- Terraform module development tool. Extract variables from ` variables.tf ` files
3+ <p >
4+ <a href="./LICENSE" alt="License">
5+ <img src="https://img.shields.io/github/license/YakDriver/scratchrelaxtv.svg" /></a>
6+ <a href="http://travis-ci.org/YakDriver/scratchrelaxtv" alt="Build status">
7+ <img src="https://travis-ci.org/YakDriver/scratchrelaxtv.svg?branch=master" /></a>
8+ <a href="https://pypi.python.org/pypi/scratchrelaxtv" alt="Python versions">
9+ <img src="https://img.shields.io/pypi/pyversions/scratchrelaxtv.svg" /></a>
10+ <a href="https://pypi.python.org/pypi/scratchrelaxtv" alt="Version">
11+ <img src="https://img.shields.io/pypi/v/scratchrelaxtv.svg" /></a>
12+ </p >
13+
14+ Terraform module development tool.
15+
16+ 1 . Extract variables from ` main.tf ` and create ` variables.tf ` files
17+ 1 . Create a module use stub from a ` variables.tf ` file
18+ 1 . Delete extra * scratchrelaxtv* files
419
520
621## simply
Original file line number Diff line number Diff line change 1818import re
1919
2020
21- __version__ = "0.2.0 "
21+ __version__ = "0.2.1 "
2222EXIT_OKAY = 0
2323EXIT_NOT_OKAY = 1
2424
@@ -38,6 +38,7 @@ def remove_files():
3838 for root , _ , files in os .walk (os .getcwd ()):
3939 for file in filter (lambda x : re .match (pattern , x ), files ):
4040 os .remove (os .path .join (root , file ))
41+ logger .info ("removed file: %s" , os .path .join (root , file ))
4142
4243
4344class BassExtractor ():
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ def main():
4949 extractor = None
5050 if args .remove :
5151 scratchrelaxtv .remove_files ()
52+ sys .exit (scratchrelaxtv .EXIT_OKAY )
5253 elif not args .modstub :
5354 extractor = scratchrelaxtv .VarExtractor (args )
5455 else :
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name = scratchrelaxtv
33description = Terraform developer tool to extract variables and create variables.tf files.
44long_description = file: README.md, CHANGELOG.md
55long_description_content_type = text/markdown
6- version = 0.2.0
6+ version = 0.2.1
77author = YakDriver
8899url = https://github.com/YakDriver/scratchrelaxtv
You can’t perform that action at this time.
0 commit comments