Skip to content

Commit f267c42

Browse files
author
hui.zhao
committed
code of conduct
1 parent 216d9fa commit f267c42

3 files changed

Lines changed: 29 additions & 23 deletions

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ deploy:
4747
- provider: releases
4848
api_key: $GITHUB_TOKEN
4949
file: "./android-godeye-sample/build/outputs/apk/release/android-godeye-sample-release.apk"
50-
release_notes_file: "CHANGELOG_NEW_VERSION.tmp"
50+
release_notes_file: "./CHANGELOG_NEW_VERSION.tmp"
5151
skip_cleanup: true
5252
on:
5353
tags: true

CODE_OF_CONDUCT.md

Lines changed: 26 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,41 @@
11
# Code of Conduct
22

3-
## Model
3+
## Build
44

5-
Model数据类,包含Config类型
5+
### Build Sample APK
66

7-
1. 必须实现Serializable接口
8-
2. 必须@Keep
9-
3. 内容必须可序列化
10-
4. 必须添加toString方法
7+
Clone then build, then run `android android-godeye-sample`
8+
9+
### Build Debug Dashboard
10+
11+
1. `cd android-godeye-monitor-dashboard`
12+
2. `npm install` or `cnpm install` if needed.
13+
3. [`npm run bd`] or [`npm run build` then `npm run deploy`]
14+
4. Build and run `android android-godeye-sample`
1115

1216
## Deploy
1317

1418
1. Exec `./gradlew generateChangelog -PchangelogVersion=3.1.12` to update CHANGELOG.md, 添加或删除模块需要更新README.md和[wiki](https://github.com/Kyson/AndroidGodEye/wiki)
15-
2. 改动合并到master,并打版本号命名的tag(本地测试会使用gradle.properties文件中的版本号)
16-
3. PUSH,查看编译状态:[AndroidGodEye-travis-ci](https://travis-ci.org/Kyson/AndroidGodEye/builds)
19+
2. Merge to master branch then tag with version name then push.(本地测试会使用gradle.properties文件中的版本号)
20+
3. 查看编译状态:[AndroidGodEye-travis-ci](https://travis-ci.org/Kyson/AndroidGodEye/builds)
1721

18-
## Changelog
22+
## Code
1923

20-
Based on [keepachangelog](https://keepachangelog.com/en/1.0.0/)
24+
Model数据类,包含Config类型
2125

22-
```text
23-
* Added for new features.
24-
* Changed for changes in existing functionality.
25-
* Deprecated for soon-to-be removed features.
26-
* Removed for now removed features.
27-
* Fixed for any bug fixes.
28-
* Security in case of vulnerabilities.
29-
```
26+
1. 必须实现Serializable接口
27+
2. 必须@Keep
28+
3. 内容必须可序列化
29+
4. 必须添加toString方法
3030

31-
## Ignore
31+
## Changelog
3232

33-
### Jcenter upload,不需要手动调用
33+
Based on [keepachangelog](https://keepachangelog.com/en/1.0.0/)
3434

35-
bintrayKey: [https://bintray.com/profile/edit](https://bintray.com/profile/edit) API Key
35+
- Added for new features.
36+
- Changed for changes in existing functionality.
37+
- Deprecated for soon-to-be removed features.
38+
- Removed for now removed features.
39+
- Fixed for any bug fixes.
40+
- Security in case of vulnerabilities.
3641

37-
./gradlew clean build bintrayUpload -PbintrayUser=kyson -PbintrayKey=BINTRAY_KEY -PdryRun=false

gradle/gradle-jcenter-push.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//bintrayKey: [https://bintray.com/profile/edit](https://bintray.com/profile/edit) API Key
2+
13
apply plugin: 'com.novoda.bintray-release'
24

35
publish {

0 commit comments

Comments
 (0)