Skip to content

Commit

Permalink
rework version reading (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
aerickson authored Jul 30, 2024
1 parent 263d189 commit 2c5d795
Show file tree
Hide file tree
Showing 6 changed files with 1,201 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
**/*.pyc

.coverage

dist/
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,23 @@ Authoritative Terraform resources should be used when setting up new infrastruct
- resource names that have authoritative resource will alert
- use an exception comment for now

## TODO
## Development

### Version Bumping

```bash
# poetry install via shell script
pipx inject poetry poetry-bumpversion
# poetry installed via pipx
poetry self add poetry-bumpversion

poetry version -h

# increment minor version
poetry version patch
```

### TODO

- more advanced detection
- simple substring is used now, check for `resource "BLAH"` or `resource 'BLAH'`
Expand Down
Loading

0 comments on commit 2c5d795

Please sign in to comment.