Make README version number neutral

Avoid needing to keep the version on the master branch up-to-date when it only
gets set on a release branch.
This commit is contained in:
Paul Campbell 2018-06-23 07:46:23 +01:00
parent 846bc88e4f
commit 680b6b8a0d

View file

@ -21,10 +21,12 @@ TypeAlias, Maybe and Result for Java
<dependency>
<groupId>net.kemitix</groupId>
<artifactId>mon</artifactId>
<version>0.6.0</version>
<version>RELEASE</version>
</dependency>
```
The latest version should be shown above with the nexus and maven-central badges.
## Usage
### TypeAlias
@ -43,7 +45,7 @@ class Goal extends TypeAlias<String> {
```
```java
class Example {}
class Example {
Goal goal = Goal.of("goal");
void foo(final Goal goal) {
System.out.println("The goal is " + goal.getValue());