File tree Expand file tree Collapse file tree 6 files changed +10
-4
lines changed Expand file tree Collapse file tree 6 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 44
55cd cf-java-client
66./mvnw -q -Dmaven.test.skip=true deploy
7+ cp target/build-info.json ../build-info/build-info.json
Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ image_resource:
1010inputs :
1111- name : cf-java-client
1212
13+ outputs :
14+ - name : build-info
15+
1316run :
1417 path : cf-java-client/ci/deploy.sh
1518
Original file line number Diff line number Diff line change 22
33set -e
44
5- NAME=$( jq -r .name cf-java-client/target /build-info.json)
6- NUMBER=$( jq -r .number cf-java-client/target /build-info.json)
5+ NAME=$( jq -r .name build-info /build-info.json)
6+ NUMBER=$( jq -r .number build-info /build-info.json)
77
88# # Promote to Bintray
99curl -X " POST" " https://repo.spring.io/api/build/distribute/$NAME /$NUMBER " \
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ image_resource:
77 repository : cfje/cf-java-client
88
99inputs :
10+ - name : build-info
1011- name : cf-java-client
1112
1213run :
Original file line number Diff line number Diff line change 22
33set -e
44
5- GROUP_ID=$( jq -r .modules[0].id cf-java-client/target /build-info.json | cut -d ' :' -f 1)
6- VERSION=$( jq -r .modules[0].id cf-java-client/target /build-info.json | cut -d ' :' -f 3)
5+ GROUP_ID=$( jq -r .modules[0].id build-info /build-info.json | cut -d ' :' -f 1)
6+ VERSION=$( jq -r .modules[0].id build-info /build-info.json | cut -d ' :' -f 3)
77
88# # Promote to Maven Central
99curl -X " POST" " https://api.bintray.com/maven_central_sync/spring/jars/$GROUP_ID /versions/$VERSION " \
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ image_resource:
77 repository : cfje/cf-java-client
88
99inputs :
10+ - name : build-info
1011- name : cf-java-client
1112
1213run :
You can’t perform that action at this time.
0 commit comments