-
Notifications
You must be signed in to change notification settings - Fork 342
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
江子健
committed
Sep 27, 2018
1 parent
a04deaa
commit 9f3400d
Showing
4 changed files
with
23 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/env bash | ||
|
||
# 发布到JCenter | ||
# 用法: | ||
# 1. 在local.properties中配置好bintray账号和apikey | ||
# bintray.user=xxx | ||
# bintray.apikey=xxxx | ||
# 2. 更新gradle.properties中的版本号(否则可能会覆盖已发布版本!!!) | ||
# 3. 将build.gradle - buildscript - dependencies中的 | ||
# classpath "com.sankuai.waimai.router:plugin:$VERSION_NAME" | ||
# 改为一个已经发布的版本(否则后面发布时会编译不过) | ||
# 4. 执行此脚本发布JCenter | ||
# 5. 验证新版本,把build.gradle改回来 | ||
# 6. git打tag,更新文档(README、CHANGELOG),github编辑Release信息 | ||
|
||
./gradlew :interfaces:assemble :router:assemble :compiler:assemble :plugin:assemble :interfaces:bintrayUpload :router:bintrayUpload :compiler:bintrayUpload :plugin:bintrayUpload |