Skip to content

Commit 667c479

Browse files
committed
Prepare release 3.1.0
1 parent e7b0665 commit 667c479

File tree

4 files changed

+9
-13
lines changed

4 files changed

+9
-13
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This library is available on Maven Central.
2020
<a href="https://search.maven.org/search?q=com.uwetrottmann.androidutils"><img src="https://img.shields.io/maven-central/v/com.uwetrottmann.androidutils/androidutils.svg?style=flat-square"></a>
2121

2222
```groovy
23-
implementation("com.uwetrottmann.androidutils:androidutils:3.0.0")
23+
implementation("com.uwetrottmann.androidutils:androidutils:3.1.0")
2424
```
2525

2626
## License

RELEASE_NOTES.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
Release Notes
22
=============
33

4-
## next
4+
## 3.1.0
5+
_2022-12-09_
6+
57
- Fix `AndroidUtils.isNetworkConnected` and `.isUnmeteredNetworkConnected` crashing with
68
`SecurityException` on some Android 11 devices due to a [system bug](https://android-review.googlesource.com/c/platform/frameworks/base/+/1758029).
79
See method for details.

RELEASING.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,15 @@ signing.secretKeyRingFile=C:/Users/Uwe/AppData/Roaming/gnupg/secring.gpg
2828
3. Build and publish:
2929

3030
```
31-
./gradlew clean publishCentralPublicationToCentralRepository
31+
./gradlew clean publishCentralPublicationToSonatypeRepository
3232
```
3333
34-
4. Close and release staging repository:
34+
4. Commit and tag release. Change version back to snapshot, commit. Push to GitHub.
3535
3636
```
37-
./gradlew closeAndReleaseRepository
38-
```
39-
40-
5. Commit and tag release. Change version back to snapshot, commit. Push to GitHub.
41-
42-
```
43-
git commit -am "Prepare release 1.2.3."
37+
git commit -am "Prepare release 1.2.3"
4438
git tag v1.2.3
4539
// After changing version back to snapshots
46-
git commit -am "Prepare next development version."
40+
git commit -am "Start development of next version."
4741
git push origin main --tags
4842
```

androidutils/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
}
77

88
group = "com.uwetrottmann.androidutils"
9-
version = "3.1.0-SNAPSHOT"
9+
version = "3.1.0"
1010

1111
android {
1212
namespace = "com.uwetrottmann.androidutils"

0 commit comments

Comments
 (0)