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

Add git commit hash id, branch name and build time to BuildConfig as debug info #58

Merged
merged 1 commit into from
Jan 19, 2017

Conversation

KeithYokoma
Copy link
Contributor

No description provided.

@konifar
Copy link
Contributor

konifar commented Jan 19, 2017

👀

@@ -38,6 +43,9 @@ android {
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

buildConfigField "String", "CONFERENCE_TIMEZONE", "\"Asia/Tokyo\""
buildConfigField "String", "GIT_SHA", "\"${gitSha}\""
buildConfigField "String", "GIT_BRANCH", "\"${gitBranch}\""
buildConfigField "String", "BUILD_TIME", "\"${buildTime}\""
Copy link
Contributor

Choose a reason for hiding this comment

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

🙋
Where will you use these debug info?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I will show these somewhere like "About" page to collect information for debugging easily :)

Copy link
Contributor

Choose a reason for hiding this comment

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

I see 😃 Thanks!

@konifar konifar mentioned this pull request Jan 19, 2017
@konifar
Copy link
Contributor

konifar commented Jan 19, 2017

LGTM!!

@konifar konifar merged commit 11b168a into master Jan 19, 2017
@konifar konifar deleted the feature/debug_info branch January 19, 2017 04:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants