Skip to content

Commit

Permalink
Prepare release 3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
UweTrottmann committed Dec 9, 2022
1 parent e7b0665 commit 667c479
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 13 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ This library is available on Maven Central.
<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>

```groovy
implementation("com.uwetrottmann.androidutils:androidutils:3.0.0")
implementation("com.uwetrottmann.androidutils:androidutils:3.1.0")
```

## License
Expand Down
4 changes: 3 additions & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
Release Notes
=============

## next
## 3.1.0
_2022-12-09_

- Fix `AndroidUtils.isNetworkConnected` and `.isUnmeteredNetworkConnected` crashing with
`SecurityException` on some Android 11 devices due to a [system bug](https://android-review.googlesource.com/c/platform/frameworks/base/+/1758029).
See method for details.
Expand Down
14 changes: 4 additions & 10 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,15 @@ signing.secretKeyRingFile=C:/Users/Uwe/AppData/Roaming/gnupg/secring.gpg
3. Build and publish:

```
./gradlew clean publishCentralPublicationToCentralRepository
./gradlew clean publishCentralPublicationToSonatypeRepository
```
4. Close and release staging repository:
4. Commit and tag release. Change version back to snapshot, commit. Push to GitHub.
```
./gradlew closeAndReleaseRepository
```
5. Commit and tag release. Change version back to snapshot, commit. Push to GitHub.
```
git commit -am "Prepare release 1.2.3."
git commit -am "Prepare release 1.2.3"
git tag v1.2.3
// After changing version back to snapshots
git commit -am "Prepare next development version."
git commit -am "Start development of next version."
git push origin main --tags
```
2 changes: 1 addition & 1 deletion androidutils/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

group = "com.uwetrottmann.androidutils"
version = "3.1.0-SNAPSHOT"
version = "3.1.0"

android {
namespace = "com.uwetrottmann.androidutils"
Expand Down

0 comments on commit 667c479

Please sign in to comment.