@@ -70,13 +70,13 @@ public static void main(String[] artifactsToUpload) throws FileNotFoundException
70
70
Promise <Void > promise = new Promise <>(() -> {
71
71
File artifactFile = new File (artifact );
72
72
73
- logger .info ("Uploading build artifact: %s to /dist/%s/%s (%d bytes)" , artifactFile , branch , artifact , artifactFile .length ());
73
+ logger .info ("Uploading build artifact: %s to /caffeinated/ dist/%s/%s (%d bytes)" , artifactFile , branch , artifact , artifactFile .length ());
74
74
75
75
b2 .uploadSmallFile (
76
76
B2UploadFileRequest
77
77
.builder (
78
78
bucketId ,
79
- String .format ("dist/%s/%s" , branch , artifact ),
79
+ String .format ("caffeinated/ dist/%s/%s" , branch , artifact ),
80
80
B2ContentTypes .APPLICATION_OCTET ,
81
81
B2FileContentSource .build (artifactFile )
82
82
)
@@ -94,13 +94,13 @@ public static void main(String[] artifactsToUpload) throws FileNotFoundException
94
94
Promise <Void > promise = new Promise <>(() -> {
95
95
File artifactFile = new File (artifact );
96
96
97
- logger .info ("Uploading build artifact: %s to /dist/beta/%s (%d bytes)" , artifactFile , artifact , artifactFile .length ());
97
+ logger .info ("Uploading build artifact: %s to /caffeinated/ dist/beta/%s (%d bytes)" , artifactFile , artifact , artifactFile .length ());
98
98
99
99
b2 .uploadSmallFile (
100
100
B2UploadFileRequest
101
101
.builder (
102
102
bucketId ,
103
- String .format ("dist/beta/%s" , artifact ),
103
+ String .format ("caffeinated/ dist/beta/%s" , artifact ),
104
104
B2ContentTypes .APPLICATION_OCTET ,
105
105
B2FileContentSource .build (artifactFile )
106
106
)
@@ -142,7 +142,7 @@ public static void main(String[] artifactsToUpload) throws FileNotFoundException
142
142
B2UploadFileRequest
143
143
.builder (
144
144
bucketId ,
145
- String .format ("dist/%s/commit" , branch ),
145
+ String .format ("caffeinated/ dist/%s/commit" , branch ),
146
146
B2ContentTypes .TEXT_PLAIN , B2ByteArrayContentSource .build (commitShortHash .getBytes ())
147
147
)
148
148
.build ()
@@ -154,7 +154,7 @@ public static void main(String[] artifactsToUpload) throws FileNotFoundException
154
154
B2UploadFileRequest
155
155
.builder (
156
156
bucketId ,
157
- "dist/beta/commit" ,
157
+ "caffeinated/ dist/beta/commit" ,
158
158
B2ContentTypes .TEXT_PLAIN , B2ByteArrayContentSource .build (commitShortHash .getBytes ())
159
159
)
160
160
.build ()
0 commit comments