Skip to content

Commit

Permalink
updated readme & automatized version bumps
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdubiel committed Feb 5, 2016
1 parent c24506e commit c3730a8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ having to modify JSON data if it conforms to the JSON schema.

```groovy
dependencies {
compile group: 'tech.allegro.schema.json2avro', name: 'json-avro-converter', version: 'x.x.x'
compile group: 'tech.allegro.schema.json2avro', name: 'converter', version: '0.2.1'
}
```

Expand Down Expand Up @@ -75,7 +75,7 @@ To bundle the tool into single executable JAR:

```bash
./gradlew :validator:shadowJar
java -jar validator/build/libs/json2avro-validator.jar --help
java -jar validator/build/libs/json2avro-validator-{version}.jar --help
```

### Usage
Expand Down
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ scmVersion {
prefix = 'json-avro-converter'
}
versionCreator 'versionWithBranch'

hooks {
pre 'fileUpdate', [files: ['README.md'], pattern: {v, p -> /'$v'/ }, replacement: {v, p -> "'$v'"}]
pre 'commit'
}
}

sourceCompatibility = 1.8
Expand Down

0 comments on commit c3730a8

Please sign in to comment.