Skip to content

Commit

Permalink
Skip tests when releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
bertfrees committed May 2, 2016
1 parent 766adf4 commit 38f0caa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,11 @@ Release procedure
make release-notes
```

- Perform the release with Maven. (Tests will fail during the first `release:prepare`.)
- Perform the release with Maven.

```sh
mvn clean release:clean release:prepare -DpushChanges=false
mvn clean install
git checkout .
mvn clean release:clean release:prepare -DpushChanges=false
mvn release:perform -DlocalCheckout=true
mvn clean release:clean release:prepare
mvn release:perform
```

- Revert snapshot increments of modules in `maven/bom/pom.xml` and `maven/parent/pom.xml`, update
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
<artifactId>maven-release-plugin</artifactId>
<configuration>
<tagNameFormat>v@{project.version}</tagNameFormat>
<arguments>-DskipTests -Psonatype-oss-release</arguments>
</configuration>
</plugin>
</plugins>
Expand Down

0 comments on commit 38f0caa

Please sign in to comment.