Skip to content
This repository has been archived by the owner on Nov 13, 2021. It is now read-only.

Commit

Permalink
Prepare for release X.Y.Z
Browse files Browse the repository at this point in the history
  • Loading branch information
leinardi committed May 26, 2019
1 parent e5a23e1 commit 1caf87c
Show file tree
Hide file tree
Showing 18 changed files with 64 additions and 10 deletions.
10 changes: 10 additions & 0 deletions RELEASING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Releasing

1. Bump the `mvn_config.version` property in `mavenConfig.gradle` based on Major.Minor.Patch naming scheme
2. Update `CHANGELOG.md` for the impending release.
3. Update the `README.md` with the new version.
4. `git commit -am "Prepare for release X.Y.Z"` (where X.Y.Z is the version you set in step 1)
5. `git push`
6. `./gradlew clean assembleRelease bintrayUpload`
7. Create a PR from [master](../../tree/master) to [release](../../tree/release)
8. Visit [JFrog Bintray](https://bintray.com/leinardi/androidthings) and promote the artifacts
4 changes: 2 additions & 2 deletions dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ versions.androidx_annotations = "1.0.0"
ext.versions = versions

def build_versions = [:]
build_versions.min_sdk = 28
build_versions.target_sdk = 28
build_versions.min_sdk = 27
build_versions.target_sdk = 27
build_versions.java_version = JavaVersion.VERSION_1_7
build_versions.version_code = 'git rev-list --count HEAD'.execute().text.trim() as int
ext.build_versions = build_versions
Expand Down
5 changes: 5 additions & 0 deletions driver-ds3231-receiver/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log

## [1.1] - 2019-05-26
### Updated
- migrated to AndroidX
- updated gradle

## [1.0] - 2018-05-10
### Updated
- update to Android Things 1.0
Expand Down
2 changes: 1 addition & 1 deletion driver-ds3231-receiver/mavenConfig.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def mvn_config = [:]
mvn_config.repository = 'androidthings'
mvn_config.group_id = 'com.leinardi.android.things'
mvn_config.artifact_id = 'driver-ds3231-receiver'
mvn_config.version = '1.0'
mvn_config.version = '1.1.0'
mvn_config.licenses = 'Apache-2.0' // Comma separated
mvn_config.website = 'https://github.com/leinardi/androidthings-drivers'
mvn_config.issue_tracker_url = 'https://github.com/leinardi/androidthings-drivers/issues'
Expand Down
5 changes: 5 additions & 0 deletions driver-ds3231/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log

## [1.1] - 2019-05-26
### Updated
- migrated to AndroidX
- updated gradle

## [1.0] - 2018-05-10
### Updated
- update to Android Things 1.0
Expand Down
2 changes: 1 addition & 1 deletion driver-ds3231/mavenConfig.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def mvn_config = [:]
mvn_config.repository = 'androidthings'
mvn_config.group_id = 'com.leinardi.android.things'
mvn_config.artifact_id = 'driver-ds3231'
mvn_config.version = '1.0'
mvn_config.version = '1.1.0'
mvn_config.licenses = 'Apache-2.0' // Comma separated
mvn_config.website = 'https://github.com/leinardi/androidthings-drivers'
mvn_config.issue_tracker_url = 'https://github.com/leinardi/androidthings-drivers/issues'
Expand Down
5 changes: 5 additions & 0 deletions driver-epaperdriverhat/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log

## [1.1] - 2019-05-26
### Updated
- migrated to AndroidX
- updated gradle

## [1.0] - 2018-05-10
### Updated
- update to Android Things 1.0
Expand Down
2 changes: 1 addition & 1 deletion driver-epaperdriverhat/mavenConfig.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def mvn_config = [:]
mvn_config.repository = 'androidthings'
mvn_config.group_id = 'com.leinardi.android.things'
mvn_config.artifact_id = 'driver-epaperdriverhat'
mvn_config.version = '1.0'
mvn_config.version = '1.1.0'
mvn_config.licenses = 'Apache-2.0' // Comma separated
mvn_config.website = 'https://github.com/leinardi/androidthings-drivers'
mvn_config.issue_tracker_url = 'https://github.com/leinardi/androidthings-drivers/issues'
Expand Down
5 changes: 5 additions & 0 deletions driver-hcsr04/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log

## [1.1] - 2019-05-26
### Updated
- migrated to AndroidX
- updated gradle

## [1.0] - 2018-05-10
### Updated
- update to Android Things 1.0
Expand Down
2 changes: 1 addition & 1 deletion driver-hcsr04/mavenConfig.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def mvn_config = [:]
mvn_config.repository = 'androidthings'
mvn_config.group_id = 'com.leinardi.android.things'
mvn_config.artifact_id = 'driver-hcsr04'
mvn_config.version = '1.0'
mvn_config.version = '1.1.0'
mvn_config.licenses = 'Apache-2.0' // Comma separated
mvn_config.website = 'https://github.com/leinardi/androidthings-drivers'
mvn_config.issue_tracker_url = 'https://github.com/leinardi/androidthings-drivers/issues'
Expand Down
5 changes: 5 additions & 0 deletions driver-hd44780/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log

## [1.1] - 2019-05-26
### Updated
- migrated to AndroidX
- updated gradle

## [1.0] - 2018-05-10
### Updated
- update to Android Things 1.0
Expand Down
2 changes: 1 addition & 1 deletion driver-hd44780/mavenConfig.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def mvn_config = [:]
mvn_config.repository = 'androidthings'
mvn_config.group_id = 'com.leinardi.android.things'
mvn_config.artifact_id = 'driver-hd44780'
mvn_config.version = '1.0'
mvn_config.version = '1.1.0'
mvn_config.licenses = 'Apache-2.0' // Comma separated
mvn_config.website = 'https://github.com/leinardi/androidthings-drivers'
mvn_config.issue_tracker_url = 'https://github.com/leinardi/androidthings-drivers/issues'
Expand Down
5 changes: 5 additions & 0 deletions driver-lsm9ds1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log

## [1.1] - 2019-05-26
### Updated
- migrated to AndroidX
- updated gradle

## [1.0] - 2018-05-10
### Updated
- update to Android Things 1.0
Expand Down
2 changes: 1 addition & 1 deletion driver-lsm9ds1/mavenConfig.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def mvn_config = [:]
mvn_config.repository = 'androidthings'
mvn_config.group_id = 'com.leinardi.android.things'
mvn_config.artifact_id = 'driver-lsm9ds1'
mvn_config.version = '1.0'
mvn_config.version = '1.1.0'
mvn_config.licenses = 'Apache-2.0' // Comma separated
mvn_config.website = 'https://github.com/leinardi/androidthings-drivers'
mvn_config.issue_tracker_url = 'https://github.com/leinardi/androidthings-drivers/issues'
Expand Down
9 changes: 9 additions & 0 deletions driver-sh1106/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Change Log

## [1.1] - 2019-05-26
### Updated
- migrated to AndroidX
- updated gradle

## [1.0] - 2018-05-10
### Updated
- update to Android Things 1.0

## [0.3] - 2018-04-07
### Updated
- update to Android Things devpreview-0.7
Expand Down
2 changes: 1 addition & 1 deletion driver-sh1106/mavenConfig.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def mvn_config = [:]
mvn_config.repository = 'androidthings'
mvn_config.group_id = 'com.leinardi.android.things'
mvn_config.artifact_id = 'driver-sh1106'
mvn_config.version = '1.0'
mvn_config.version = '1.1.0'
mvn_config.licenses = 'Apache-2.0' // Comma separated
mvn_config.website = 'https://github.com/leinardi/androidthings-drivers'
mvn_config.issue_tracker_url = 'https://github.com/leinardi/androidthings-drivers/issues'
Expand Down
5 changes: 5 additions & 0 deletions driver-tsl256x/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log

## [1.1] - 2019-05-26
### Updated
- migrated to AndroidX
- updated gradle

## [1.0] - 2018-05-10
### Updated
- update to Android Things 1.0
Expand Down
2 changes: 1 addition & 1 deletion driver-tsl256x/mavenConfig.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def mvn_config = [:]
mvn_config.repository = 'androidthings'
mvn_config.group_id = 'com.leinardi.android.things'
mvn_config.artifact_id = 'driver-tsl256x'
mvn_config.version = '1.0'
mvn_config.version = '1.1.0'
mvn_config.licenses = 'Apache-2.0' // Comma separated
mvn_config.website = 'https://github.com/leinardi/androidthings-drivers'
mvn_config.issue_tracker_url = 'https://github.com/leinardi/androidthings-drivers/issues'
Expand Down

0 comments on commit 1caf87c

Please sign in to comment.