Skip to content

Commit 8d499ae

Browse files
committed
Remove hard coded version in readme
1 parent 0069798 commit 8d499ae

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ See the https://consul.io/intro/index.html[intro] for more information.
3737
1. Run `docker-compose up`
3838
2. Verify consul is running by visiting http://localhost:8500
3939
3. Run `mvn package` this will bring in the required spring cloud maven repositories and build
40-
4. Run `java -jar spring-cloud-consul-sample/target/spring-cloud-consul-sample-1.2.0.BUILD-SNAPSHOT.jar`
40+
4. Run `java -jar spring-cloud-consul-sample/target/spring-cloud-consul-sample-${VERSION}.jar`
4141
5. visit http://localhost:8080, verify that `{"serviceId":"<yourhost>:8080","host":"<yourhost>","port":8080}` results
42-
6. run `java -jar spring-cloud-consul-sample/target/spring-cloud-consul-sample-1.2.0.BUILD-SNAPSHOT.jar --server.port=8081`
42+
6. run `java -jar spring-cloud-consul-sample/target/spring-cloud-consul-sample-${VERSION}.jar --server.port=8081`
4343
7. visit http://localhost:8080 again, verify that `{"serviceId":"<yourhost>:8081","host":"<yourhost>","port":8081}` eventually shows up in the results in a round robbin fashion (may take a minute or so).
4444

4545
== Building
@@ -212,4 +212,4 @@ added after the original pull request but before a merge.
212212
other target branch in the main project).
213213
* When writing a commit message please follow http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html[these conventions],
214214
if you are fixing an existing issue please add `Fixes gh-XXXX` at the end of the commit
215-
message (where XXXX is the issue number).
215+
message (where XXXX is the issue number).

docs/src/main/asciidoc/README.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ See the https://consul.io/intro/index.html[intro] for more information.
2828
1. Run `docker-compose up`
2929
2. Verify consul is running by visiting http://localhost:8500
3030
3. Run `mvn package` this will bring in the required spring cloud maven repositories and build
31-
4. Run `java -jar spring-cloud-consul-sample/target/spring-cloud-consul-sample-1.2.0.BUILD-SNAPSHOT.jar`
31+
4. Run `java -jar spring-cloud-consul-sample/target/spring-cloud-consul-sample-${VERSION}.jar`
3232
5. visit http://localhost:8080, verify that `{"serviceId":"<yourhost>:8080","host":"<yourhost>","port":8080}` results
33-
6. run `java -jar spring-cloud-consul-sample/target/spring-cloud-consul-sample-1.2.0.BUILD-SNAPSHOT.jar --server.port=8081`
33+
6. run `java -jar spring-cloud-consul-sample/target/spring-cloud-consul-sample-${VERSION}.jar --server.port=8081`
3434
7. visit http://localhost:8080 again, verify that `{"serviceId":"<yourhost>:8081","host":"<yourhost>","port":8081}` eventually shows up in the results in a round robbin fashion (may take a minute or so).
3535

3636
== Building

0 commit comments

Comments
 (0)