Skip to content

Commit 46da615

Browse files
Updated docs
1 parent 479074a commit 46da615

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

README.adoc

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -434,20 +434,19 @@ $ ./mvnw clean install -Pcentral
434434
=== Upload the artifacts
435435

436436
```bash
437-
$ ./mvnw deploy -Pmilestone
437+
$ ./mvnw deploy -Pmilestone -DskipTests
438438
```
439439

440440
or
441441

442442
```bash
443-
$ ./mvnw deploy -Pcentral
443+
$ ./mvnw deploy -Pcentral -DskipTests
444444
```
445445

446446
=== Commit and tag
447447

448448
```bash
449-
$ ./mvnw versions:commit
450-
$ otelVersion="1.0.0-M8" && ./mvnw versions:set-scm-tag -DnewTag="${otelVersion}"
449+
$ otelVersion="1.0.0-M8" && git commit -am "Bumped versions for the ${otelVersion} release" && git tag "v${otelVersion}"
451450
```
452451

453452
=== Generate and update the docs
@@ -461,12 +460,12 @@ $ temporaryDir="/tmp/sleuth-otel" && rm -rf "${temporaryDir}" && mkdir -p "${te
461460
=== Go back to snapshots
462461

463462
```bash
464-
$ otelVersion="1.0.0-SNAPSHOT" && ./mvnw versions:set -DnewVersion="${otelVersion}" -DgenerateBackupPoms=false && pushd spring-cloud-sleuth-otel-dependencies && ../mvnw versions:set -DnewVersion="${otelVersion}" -DgenerateBackupPoms=false && popd
463+
$ otelVersion="1.0.0-SNAPSHOT" && ./mvnw versions:set -DnewVersion="${otelVersion}" -DgenerateBackupPoms=false && pushd spring-cloud-sleuth-otel-dependencies && ../mvnw versions:set -DnewVersion="${otelVersion}" -DgenerateBackupPoms=false && popd && pushd benchmarks && ../mvnw versions:set -DnewVersion="${otelVersion}" -DgenerateBackupPoms=false && popd
465464
```
466465

467466
=== Commit and push tags
468467

469468
```bash
470-
$ ./mvnw versions:commit
469+
$ git commit -am "Going back to snapshots after the release"
471470
$ git push origin --tags
472471
```

docs/src/main/asciidoc/__releasing.adoc

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,19 @@ $ ./mvnw clean install -Pcentral
2727
=== Upload the artifacts
2828

2929
```bash
30-
$ ./mvnw deploy -Pmilestone
30+
$ ./mvnw deploy -Pmilestone -DskipTests
3131
```
3232

3333
or
3434

3535
```bash
36-
$ ./mvnw deploy -Pcentral
36+
$ ./mvnw deploy -Pcentral -DskipTests
3737
```
3838

3939
=== Commit and tag
4040

4141
```bash
42-
$ ./mvnw versions:commit
43-
$ otelVersion="1.0.0-M8" && ./mvnw versions:set-scm-tag -DnewTag="${otelVersion}"
42+
$ otelVersion="1.0.0-M8" && git commit -am "Bumped versions for the ${otelVersion} release" && git tag "v${otelVersion}"
4443
```
4544

4645
=== Generate and update the docs
@@ -54,12 +53,12 @@ $ temporaryDir="/tmp/sleuth-otel" && rm -rf "${temporaryDir}" && mkdir -p "${te
5453
=== Go back to snapshots
5554

5655
```bash
57-
$ otelVersion="1.0.0-SNAPSHOT" && ./mvnw versions:set -DnewVersion="${otelVersion}" -DgenerateBackupPoms=false && pushd spring-cloud-sleuth-otel-dependencies && ../mvnw versions:set -DnewVersion="${otelVersion}" -DgenerateBackupPoms=false && popd
56+
$ otelVersion="1.0.0-SNAPSHOT" && ./mvnw versions:set -DnewVersion="${otelVersion}" -DgenerateBackupPoms=false && pushd spring-cloud-sleuth-otel-dependencies && ../mvnw versions:set -DnewVersion="${otelVersion}" -DgenerateBackupPoms=false && popd && pushd benchmarks && ../mvnw versions:set -DnewVersion="${otelVersion}" -DgenerateBackupPoms=false && popd
5857
```
5958

6059
=== Commit and push tags
6160

6261
```bash
63-
$ ./mvnw versions:commit
62+
$ git commit -am "Going back to snapshots after the release"
6463
$ git push origin --tags
6564
```

0 commit comments

Comments
 (0)