Skip to content

Commit

Permalink
Merge branch 'Tencent#53' into 'master'
Browse files Browse the repository at this point in the history
Snapshot版本号从Orange-CI环境变量上取。

Snapshot版本号从Orange-CI环境变量上取。

fix Tencent#53 

See merge request !68
  • Loading branch information
shifujun committed Apr 22, 2019
2 parents 5f42019 + 9412782 commit b2e48de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion .orange-ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
'**':
push:
- network: idc-kvm
needGit: true
docker:
kvm: true
image: dockerimage.isd.com/android-build/shadow-build-cache:latest
Expand Down
2 changes: 2 additions & 0 deletions buildScripts/gradle/common.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ allprojects {
ext.VERSION_NAME = "2.0.12"
if ("${System.env.PUBLISH_RELEASE}".equalsIgnoreCase("true")) {
ext.VERSION_SUFFIX = ""
} else if ("${System.env.ORANGE}".equalsIgnoreCase("true")) {
ext.VERSION_SUFFIX = "-${System.env.ORANGE_COMMIT_SHORT}-SNAPSHOT"
} else {
ext.VERSION_SUFFIX = "-${gitShortRev()}-SNAPSHOT"
}
Expand Down

0 comments on commit b2e48de

Please sign in to comment.