- create a github repo:
my/mac-client-repo
- genreate an access token:
my-access-token
- push your changelog markdown:
my-changelog.md
- create a bucket(
my-bucket
) in qiniu and get access-key(my-qiniu-access-key
) and secret-key(my-qiniu-secret-key
) - create an incoming robot in bearychat and get the hook url:
https://bearychat-hook-url
- setup ginny and run
- GET a rendered changelog json:
http://your-qiniu-bucket-url/MAC-changelog.json
(NOTEMAC
inMAC-changelog.json
depends onplatform
fields in yourmy-changelog.md
)
export GINNY_INCOMING_HOOK_URL="https://bearychat-hook-url"
export GINNY_CHANGELOG_CONFIG="/.../changelog-config.json"
export GINNY_QINIU_ACCESS_KEY="my-qiniu-access-key"
export GINNY_QINIU_SECRET_KEY="my-qiniu-secret-key"
export GINNY_QINIU_BUCKET="my-bucket"
$ cd $PROJECT
$ vim config # setup
$ source config
$ cd $PROJECT
$ lein run
----
- Name: bearychat
- Platform: Windows
----
# 2.1.0 / 2016-12-24
## Client
### 32bit
- Size: 20mb
- DownloadUrl: http://bearychat.com/32bit.exe
### 64bit
- Size: 30mb
- DownloadUrl: http://bearychat.com/64bit.exe
## Fixed
- Fixed a bug
- Fixed another bug
## Added
- Added a feature
- Added another feature
- Added third feature
# 2.0.0 / 2016-11-24
## Client
### 32bit
- Size: 50mb
- DownloadUrl: http://bearychat.com/old/32bit.exe
### 64bit
- Size: 40mb
- DownloadUrl: http://bearychat.com/old/64bit.exe
## Fixed
- Fixed a bug1
## Added
- Added a feature1
- Added another feature2
{
"header": {
"name": "bearychat",
"platform": "MAC"
},
"body": {
"releases": [{
"version": "2.1.0",
"date": "2016-12-24",
"client": {
"32bit": {
"size": "20mb",
"downloadurl": "http://bearychat.com/32bit.exe"
},
"64bit": {
"size": "30mb",
"downloadurl": "http://bearychat.com/64bit.exe"
}
},
"fixed": ["Fixed a bug", "Fixed another bug"],
"added": ["Added a feature", "Added another feature",
"Added third feature"
]
}, {
"version": "2.0.0",
"date": "2016-11-24",
"client": {
"32bit": {
"size": "50mb",
"downloadurl": "http://bearychat.com/old/32bit.exe"
},
"64bit": {
"size": "40mb",
"downloadurl": "http://bearychat.com/old/64bit.exe"
}
},
"fixed": ["Fixed a bug1"],
"added": ["Added a feature1", "Added another feature2"]
}]
}
}
Copyright © 2016 bearyinnvative