Skip to content

Commit e5bb118

Browse files
authored
Merge pull request #435 from siom79/432-new-release-prodecure-to-maven-central
#432 added steps for release failed
2 parents 263cc2a + 274cb9b commit e5bb118

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,15 @@ python3 release.py --release-version <release-version> --old-version <old-versio
161161
* Close and release staging repository if sanity checks are successful.
162162
* Update maven site report with [Action](https://github.com/siom79/japicmp/actions/workflows/mvn-site.yml)
163163

164+
If the release fails, the version must be reverted and the tag created during the release has to be deleted:
165+
```bash
166+
mvn versions:set -DnewVersion=<new-version>-SNAPSHOT
167+
mvn versions:commit
168+
git push
169+
git push --delete origin japicmp-base-<new-version>
170+
```
171+
Afterward, the release action can be executed again.
172+
164173
## Contributions
165174

166175
Pull requests are welcome, but please follow these rules:

0 commit comments

Comments
 (0)