diff --git a/Makefile b/Makefile index 2345c7f..22e2b7c 100644 --- a/Makefile +++ b/Makefile @@ -75,7 +75,7 @@ endif release: test version @echo "Next version: ${NEXT_VERSION}" @sed -E -e "s/rev: v${CURRENT}/rev: v${NEXT_VERSION}/" -i '' README.md - @sed -E -e "s/VERSION = ${CURRENT}/VERSION = ${NEXT_VERSION}/" -i '' pre_commit_text/__init__.py + @sed -E -e "s/${CURRENT}/${NEXT_VERSION}/" -i '' pre_commit_text/__init__.py @git add README.md pre_commit_text/__init__.py git commit -m "Release version ${NEXT_VERSION}" && git tag "v${NEXT_VERSION}" diff --git a/README.md b/README.md index 5a66926..2a32734 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ A collection of git hooks for use with the [pre-commit](https://github.com/pre-c Add this to your `.pre-commit-config.yaml`: ``` - repo: https://github.com/boidolr/pre-commit-text - rev: v1.0.1 # Use the ref you want to point at + rev: v1.0.2 # Use the ref you want to point at hooks: - id: pretty-format-yaml - id: replace-tabs diff --git a/pre_commit_text/__init__.py b/pre_commit_text/__init__.py index 3277f64..2be0457 100644 --- a/pre_commit_text/__init__.py +++ b/pre_commit_text/__init__.py @@ -1 +1 @@ -VERSION = "1.0.0" +VERSION = "1.0.2"