File tree Expand file tree Collapse file tree 4 files changed +7
-12
lines changed
Expand file tree Collapse file tree 4 files changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ jobs:
181181 path : spar-wings-thymeleaf-s3/build/test-results/
182182
183183 - deploy :
184- name : Deploy bintray
184+ name : Deploy artifacts
185185 command : ./gradlew assemble publish showVersion
186186 - save_cache :
187187 key : barista-{{ .Branch }}-{{ checksum ".circleci/config.yml" }}-{{ checksum "build.gradle" }}-{{ checksum "gradle.properties" }}-{{ checksum "gradle/wrapper/gradle-wrapper.properties" }}
Original file line number Diff line number Diff line change @@ -150,13 +150,6 @@ subprojects {
150150 distribution " repo"
151151 }
152152 }
153- developers {
154- developer {
155- id " dai0304"
156- name " MIYAMOTO Daisuke"
157- email " dai.0304@gmail.com"
158- }
159- }
160153 }
161154 }
162155 }
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ springSecurityOauth2Version = 2.2.1.RELEASE
44awsJavaSdkVersion = 1.11.233
55
66lombokVersion = 1.18.2
7- baseunitsVersion = 20200313-13b46a0 -SNAPSHOT
7+ baseunitsVersion = 20200313-9a35d4d -SNAPSHOT
88
99junitVersion = 4.12
1010hamcrestVersion = 1.3
Original file line number Diff line number Diff line change @@ -12,11 +12,13 @@ buildscript {
1212
1313ext {
1414 git = org.ajoberstar.grgit.Grgit . open(file(' .' ))
15- describedCommit = git. describe (). toString() . trim()
15+ revision = git. head (). abbreviatedId
1616}
1717
18- version = describedCommit +
19- (describedCommit. matches(" .*-[0-9]+-g[0-9a-f]{7}" ) ? " -SNAPSHOT" : " " ) +
18+ import java.text.SimpleDateFormat
19+ // LocalDateTime.now().format("yyyyMMdd") は参照できないと言われる...
20+ version = new SimpleDateFormat (' yyyyMMdd' ). format(new Date ()) + " -" + revision +
21+ (git. branch. current. name != " master" ? " -SNAPSHOT" : " " ) +
2022 (git. status(). isClean() ? " " : " +dirty" )
2123
2224task showVersion {
You can’t perform that action at this time.
0 commit comments