diff --git a/.gitignore b/.gitignore index 5fcc8f1..df3c001 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ .eggs .venv .tox +build diff --git a/Makefile b/Makefile index a7a1a4a..06ed93e 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_images/__init__.py + @sed -E -e "s/VERSION = \"${CURRENT}\"/VERSION = \"${NEXT_VERSION}\"/" -i '' pre_commit_images/__init__.py @git add README.md pre_commit_images/__init__.py git commit -m "Release version ${NEXT_VERSION}" && git tag "v${NEXT_VERSION}" diff --git a/README.md b/README.md index c61f849..d3b4427 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-images - rev: v1.0.0 # Use the ref you want to point at + rev: v1.0.1 # Use the ref you want to point at hooks: - id: optimize-png # - id: ... diff --git a/pre_commit_images/__init__.py b/pre_commit_images/__init__.py index 3277f64..50b5ea9 100644 --- a/pre_commit_images/__init__.py +++ b/pre_commit_images/__init__.py @@ -1 +1 @@ -VERSION = "1.0.0" +VERSION = "1.0.1"