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