diff --git a/.travis.yml b/.travis.yml index 389bef7a..1c6adcc3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,7 +47,7 @@ deploy: - provider: releases api_key: $GITHUB_TOKEN file: "./android-godeye-sample/build/outputs/apk/release/android-godeye-sample-release.apk" - release_notes_file: "CHANGELOG_NEW_VERSION.tmp" + release_notes_file: "./CHANGELOG_NEW_VERSION.tmp" skip_cleanup: true on: tags: true diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index b2983bf2..497ac1ca 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -1,37 +1,41 @@ # Code of Conduct -## Model +## Build -Model数据类,包含Config类型 +### Build Sample APK -1. 必须实现Serializable接口 -2. 必须@Keep -3. 内容必须可序列化 -4. 必须添加toString方法 +Clone then build, then run `android android-godeye-sample` + +### Build Debug Dashboard + +1. `cd android-godeye-monitor-dashboard` +2. `npm install` or `cnpm install` if needed. +3. [`npm run bd`] or [`npm run build` then `npm run deploy`] +4. Build and run `android android-godeye-sample` ## Deploy 1. Exec `./gradlew generateChangelog -PchangelogVersion=3.1.12` to update CHANGELOG.md, 添加或删除模块需要更新README.md和[wiki](https://github.com/Kyson/AndroidGodEye/wiki) -2. 改动合并到master,并打版本号命名的tag(本地测试会使用gradle.properties文件中的版本号) -3. PUSH,查看编译状态:[AndroidGodEye-travis-ci](https://travis-ci.org/Kyson/AndroidGodEye/builds) +2. Merge to master branch then tag with version name then push.(本地测试会使用gradle.properties文件中的版本号) +3. 查看编译状态:[AndroidGodEye-travis-ci](https://travis-ci.org/Kyson/AndroidGodEye/builds) -## Changelog +## Code -Based on [keepachangelog](https://keepachangelog.com/en/1.0.0/) +Model数据类,包含Config类型 -```text - * Added for new features. - * Changed for changes in existing functionality. - * Deprecated for soon-to-be removed features. - * Removed for now removed features. - * Fixed for any bug fixes. - * Security in case of vulnerabilities. -``` +1. 必须实现Serializable接口 +2. 必须@Keep +3. 内容必须可序列化 +4. 必须添加toString方法 -## Ignore +## Changelog -### Jcenter upload,不需要手动调用 +Based on [keepachangelog](https://keepachangelog.com/en/1.0.0/) -bintrayKey: [https://bintray.com/profile/edit](https://bintray.com/profile/edit) API Key +- Added for new features. +- Changed for changes in existing functionality. +- Deprecated for soon-to-be removed features. +- Removed for now removed features. +- Fixed for any bug fixes. +- Security in case of vulnerabilities. -./gradlew clean build bintrayUpload -PbintrayUser=kyson -PbintrayKey=BINTRAY_KEY -PdryRun=false diff --git a/gradle/gradle-jcenter-push.gradle b/gradle/gradle-jcenter-push.gradle index a3e305bd..fac207c7 100644 --- a/gradle/gradle-jcenter-push.gradle +++ b/gradle/gradle-jcenter-push.gradle @@ -1,3 +1,5 @@ +//bintrayKey: [https://bintray.com/profile/edit](https://bintray.com/profile/edit) API Key + apply plugin: 'com.novoda.bintray-release' publish {