Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the release automatic #576

Merged
merged 12 commits into from
Feb 6, 2018
Merged
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: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ jobs:
./gradlew :app:uploadDeployGateRelease
elif [[ "${CIRCLE_TAG}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo "Deploy to Google Play"
openssl aes-256-cbc -k $PUBLISHER_KEYS_JSON_DECRYPT_PASSWORD -d -in encrypted-publisher-keys.json -out app/publisher-keys.json
./gradlew publishApkRelease
fi
- store_artifacts:
path: app/build/reports
Expand Down
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,19 @@ SessionsFragment.kt
})
```

## Release
Copy link
Member

Choose a reason for hiding this comment

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

👍

The release process is automated by using [gradle-play-publisher](https://github.com/Triple-T/gradle-play-publisher).
When we add `git tag`, CI deploys the release apk to GooglePlay alpha.
To know more details, see [.circleci/config.yml](https://github.com/DroidKaigi/conference-app-2018/blob/master/.circleci/config.yml)

```shell
elif [[ "${CIRCLE_TAG}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo "Deploy to Google Play"
openssl aes-256-cbc -k $PUBLISHER_KEYS_JSON_DECRYPT_PASSWORD -d -in encrypted-publisher-keys.json -out app/publisher-keys.json
./gradlew publishApkRelease
fi
```

## iOS App with Kotlin/Native and Kotlin Multiplatform Projects
Some contributors are challenging to develop iOS app with [Kotlin/Native](https://kotlinlang.org/docs/reference/native-overview.html) and [Kotlin Multiplatform Projects](https://kotlinlang.org/docs/reference/multiplatform.html).
We are watching this project.
Expand Down
5 changes: 3 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ android {
// Play publisher
playAccountConfigs {
defaultAccountConfig {
// TODO Replace json file to the one which is generated in the API console.
// https://github.com/Triple-T/gradle-play-publisher#authentication
jsonFile = file('publisher-keys.json')
}
Expand Down Expand Up @@ -217,7 +216,9 @@ repositories {
}

play {
track = 'beta' // 'production' or 'rollout' or 'beta' or 'alpha'
uploadImages = true
track = 'alpha' // 'production' or 'rollout' or 'beta' or 'alpha'
untrackOld = true
// userFraction = 0.1
}

Expand Down
12 changes: 0 additions & 12 deletions app/publisher_keys.json

This file was deleted.

1 change: 1 addition & 0 deletions app/src/main/play/contactEmail
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[email protected]
1 change: 1 addition & 0 deletions app/src/main/play/contactWebsite
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://droidkaigi.jp/2018/
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions app/src/main/play/en-US/listing/fulldescription
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
This is the official application for DroidKaigi 2018.

It helps user to:
- Browse sessions
- Plan your schedule
- Get to the venue
- Send feedback

We are sure you can enjoy the conference much more with this application.
Binary file added app/src/main/play/en-US/listing/icon/laucher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions app/src/main/play/en-US/listing/shortdescription
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The official application of DroidKaigi 2018 helping you to enjoy the conference.
1 change: 1 addition & 0 deletions app/src/main/play/en-US/listing/title
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DroidKaigi 2018
7 changes: 7 additions & 0 deletions app/src/main/play/en-US/whatsnew
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
DroidKaigi is finally upon us!
Have you decided which sessions you want to see?
The official app is still accepting contributions!

Changes:
Its now easier to see when each session starts
Information will now be sent as push notifications
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions app/src/main/play/ja-JP/listing/fulldescription
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
2018年2月8・9日に開催予定の DroidKaigi 2018 の公式アプリです。セッションのスケジュール確認や当日のお供にお使いください。
Copy link
Member

Choose a reason for hiding this comment

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

Will English descriptions are deleted? 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, you have already added it?
I'll add en/listing.

Copy link
Member

Choose a reason for hiding this comment

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

Thanks 👍

Copy link
Member

Choose a reason for hiding this comment

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

I already added it 😉

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👍 But I can't find English whatsnew in Google Play console.
Can you create it later?

Copy link
Member

Choose a reason for hiding this comment

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

Well..

ついにDroidKaigiも今週になりましたね!
見に行くセッションは決まってきましたか?
公式アプリはまだまだコントリビューターのみなさんの修正を受け付けております!
開始時間ごとにセッションが見やすくなりました。
お知らせを通知するようになりました。

Google translated..

At last DroidKaigi got this week!
Have you decided on sessions to go see?
The official application is still accepting contributors' contributions!
The session became easier to see at each start time.
I now notify you of notifications.

Copy link
Contributor

Choose a reason for hiding this comment

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

👀 please wait a moment

Copy link
Contributor

Choose a reason for hiding this comment

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

お待たせしました!

DroidKaigi is finally upon us!
Have you decided which sessions you want to see?
The official app is still accepting contributions!

Changes:
Its now easier to see when each session starts
Information will now be sent as push notifications

でどうでしょうか!

Copy link
Member

Choose a reason for hiding this comment

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

Thank you very much 🔥

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks! I added English metadata.
Can you review again?


このアプリには、以下の機能が含まれます。
・セッション内容の確認
・お気に入り
・アンケート回答
・会場マップ
Binary file added app/src/main/play/ja-JP/listing/icon/laucher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions app/src/main/play/ja-JP/listing/shortdescription
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2018年2月8・9日に開催予定の DroidKaigi 2018 の公式アプリです。セッションのスケジュール確認や当日のお供にお使いください。
1 change: 1 addition & 0 deletions app/src/main/play/ja-JP/listing/title
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DroidKaigi 2018 公式アプリ
5 changes: 5 additions & 0 deletions app/src/main/play/ja-JP/whatsnew
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
みなさんお待たせいたしました!DroidKaigi2018 公式アプリをリリースしました。
120人以上のコントリビューターの皆さんから350以上ものプルリクエストをいただき、最高のアプリを作ることができました。本当にありがとうございます。

参加を予定している皆さん、当日をお楽しみに!
それでは、DroidKaigi2018でお会いしましょう!
Binary file added encrypted-publisher-keys.json
Binary file not shown.