Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ For Eclipse, one may need to run `./gradlew eclipse` before importing the projec
## How to release new version?

1. Every change on the main development branch is released as `-SNAPSHOT` version to Sonatype snapshot repo
at https://s01.oss.sonatype.org/content/repositories/snapshots/org/mockito/mockito-core.
at https://central.sonatype.com/repository/maven-snapshots/org/mockito/mockito-core.
2. To release a non-snapshot version to Maven Central push an annotated tag, for example:

```shell
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ tasks {
logger.lifecycle(
"""
RELEASE SUMMARY
SNAPSHOTS released to: https://s01.oss.sonatype.org/content/repositories/snapshots/org/mockito/mockito-core
SNAPSHOTS released to: https://central.sonatype.com/repository/maven-snapshots/org/mockito/mockito-core

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new links don't work - they go to a 404 page.

I recently fixed these links in the mockito-kotlin repo. I believe it should be:

https://central.sonatype.com/artifact/org.mockito/mockito-core

Release to Maven Central: SKIPPED FOR SNAPSHOTS
Github releases: SKIPPED FOR SNAPSHOTS
""".trimIndent()
Expand Down