Updated README.md with latest version number

This commit is contained in:
acaloiaro 2023-05-29 15:39:06 +00:00 committed by GitHub Actions
parent 931ca6ad49
commit c8543f9536

View file

@ -41,7 +41,7 @@ Add this hook to your repository as follows:
cat <<EOF > .pre-commit-config.yaml cat <<EOF > .pre-commit-config.yaml
repos: repos:
- repo: https://github.com/acaloiaro/pre-commit-env-sample-sync.git - repo: https://github.com/acaloiaro/pre-commit-env-sample-sync.git
rev: v2.0.0 rev: v2.1.0
hooks: hooks:
- id: env-sample-sync - id: env-sample-sync
EOF EOF
@ -65,7 +65,7 @@ This plugin accepts the following arguments
```yml ```yml
repos: repos:
- repo: https://github.com/acaloiaro/pre-commit-env-sample-sync.git - repo: https://github.com/acaloiaro/pre-commit-env-sample-sync.git
rev: v2.0.0 rev: v2.1.0
hooks: hooks:
- id: env-sample-sync - id: env-sample-sync
``` ```
@ -75,7 +75,7 @@ repos:
```yml ```yml
repos: repos:
- repo: https://github.com/acaloiaro/pre-commit-env-sample-sync.git - repo: https://github.com/acaloiaro/pre-commit-env-sample-sync.git
rev: v2.0.0 rev: v2.1.0
hooks: hooks:
- id: env-sample-sync - id: env-sample-sync
args: ['--env-file=.env_file', '--sample-file=env_file.sample'] args: ['--env-file=.env_file', '--sample-file=env_file.sample']
@ -89,7 +89,7 @@ Sometimes environment variables need to conform to specific formats and it's nec
```yml ```yml
repos: repos:
- repo: https://github.com/acaloiaro/pre-commit-env-sample-sync.git - repo: https://github.com/acaloiaro/pre-commit-env-sample-sync.git
rev: v2.0.0 rev: v2.1.0
hooks: hooks:
- id: env-sample-sync - id: env-sample-sync
args: [--example=FOO="Provide your foo here", --example=BAR="You can fetch bars from https://example.com/bars"] args: [--example=FOO="Provide your foo here", --example=BAR="You can fetch bars from https://example.com/bars"]