Commit Graph

60 Commits

Author SHA1 Message Date
Phillip Webb
7b14d5bb08 Protect against NPE in isAlreadyPromoted
Fixes gh-27094
2021-06-24 18:48:22 -07:00
Madhura Bhave
82963a39be Fix typo 2021-06-24 09:52:26 -07:00
Andy Wilkinson
7617f0df60 Do not publish to Sonatype when already published
Closes gh-27080
2021-06-24 17:01:06 +01:00
Andy Wilkinson
82198a99e0 Polish nohttp configuration
Closes gh-26166
2021-04-20 11:15:13 +01:00
Phillip Webb
82127fdaa3 Update copyright year of changed files 2021-03-23 12:50:49 -07:00
Andy Wilkinson
98ee724ec6 Stop using Bintray to publish to Maven Central
This commit reworks the CI pipeline to remove the use of Bintray for
publishing to Maven Central. In its place it adds a new
publishToCentral command to the release scripts. This command can be
used to publish a directory tree of artifacts to the Maven Central
gateway hosted by Sonatype.

Publishing consists of 4 steps:

1. Create the staging repository
2. Deploy artifacts to the repository
3. Close the repository
4. Release the repository

The command requires 3 arguments:

1. The type of release being performed
2. Location of a build info JSON file that describes the release
   that is to be deployed
3. Root of a directory structure, in Maven repository layout, that
   contains the artifacts to be deployed

Closes gh-25107
2021-02-17 16:50:02 +00:00
Madhura Bhave
e5e654c9ee Merge branch '2.2.x' into 2.3.x
Closes gh-24500
2020-12-14 12:08:33 -08:00
Madhura Bhave
822ae0daf7 Fix detection of latest GA for SDKMAN
Fixes gh-24475
2020-12-14 12:07:15 -08:00
Madhura Bhave
aa24d623fe Merge branch '2.2.x' into 2.3.x 2020-12-10 12:37:16 -08:00
Madhura Bhave
5cab547fe4 Fix SDKMAN automation 2020-12-10 12:36:22 -08:00
Phillip Webb
5f351a6983 Merge branch '2.2.x' into 2.3.x
Closes gh-24338
2020-12-04 18:21:57 -08:00
Phillip Webb
9a7b8c07f8 Upgrade to spring-javaformat 0.0.26
Closes gh-24337
2020-12-04 17:54:56 -08:00
Madhura Bhave
f569d7616d Merge branch '2.2.x' into 2.3.x
Closes gh-24315
2020-12-02 10:56:23 -08:00
Madhura Bhave
7b38b0ed11 Add SDKMAN to pipeline
Closes gh-11987
2020-12-02 10:52:41 -08:00
Phillip Webb
d87c437862 Fix release script distribution check
Update `BintrayService.isDistributionComplete` to use unpublished
artifacts.
2020-10-29 19:10:01 -07:00
Andy Wilkinson
16ff7022db Merge branch '2.2.x' into 2.3.x 2020-09-17 09:47:18 +01:00
Andy Wilkinson
c23e420914 Merge branch '2.1.x' into 2.2.x 2020-09-17 09:47:06 +01:00
Andy Wilkinson
dbd27839e5 Polish logging in BintrayService 2020-09-17 09:46:39 +01:00
Phillip Webb
4924573074 Merge branch '2.2.x' into 2.3.x 2020-08-06 10:15:22 -07:00
Phillip Webb
fdd6a89a61 Polish 2020-08-06 10:14:01 -07:00
Phillip Webb
f625d8e701 Merge branch '2.2.x' into 2.3.x 2020-07-23 21:37:16 -07:00
Phillip Webb
f68671e1bc Refine regex
See gh-22543
2020-07-23 21:23:42 -07:00
Phillip Webb
7ace6cd450 Move properties to correct file
See gh-22543
2020-07-23 21:09:15 -07:00
Phillip Webb
b77dbcd06f Allow certain artifacts to be optionally deployed
Update `DistributeCommand` so that regex patterns can be used to mark
artifacts that are optional and need not fail the release.

Closes gh-22543
2020-07-23 20:45:25 -07:00
Phillip Webb
d69c35a1db Deal with 404 response when checking for artifacts 2020-07-23 18:23:24 -07:00
Phillip Webb
53296cd161 Backport build script updates 2020-07-23 17:45:55 -07:00
Phillip Webb
c043701dc0 Turn on debug logging 2020-07-23 17:45:49 -07:00
Phillip Webb
217b2eff89 Merge branch '2.2.x' into 2.3.x 2020-07-22 17:03:23 -07:00
Phillip Webb
b5e70157dc Update copyright year of changed files 2020-07-22 17:01:36 -07:00
Madhura Bhave
67060731bc Merge branch '2.1.x' into 2.2.x 2020-06-29 16:40:59 -07:00
Madhura Bhave
4a55a414e7 Fix typo 2020-06-29 16:40:24 -07:00
Johnny Lim
43aee1bddd Polish
See gh-22090
2020-06-29 16:35:23 -07:00
Phillip Webb
025d7aaac8 Merge branch '2.2.x' into 2.3.x 2020-06-15 10:53:00 -07:00
Phillip Webb
550b2847c5 Merge branch '2.1.x' into 2.2.x 2020-06-15 10:52:50 -07:00
Phillip Webb
b129a3f7fb Check that a distribution has been started
Update the releasescript to ensure that a distribution has been started
before starting it again. This functionality was accidentally removed
during the updates for gh-21474.

See gh-21474
2020-06-15 10:50:06 -07:00
Madhura Bhave
847d633097 Merge branch '2.2.x' into 2.3.x 2020-06-15 09:23:47 -07:00
Madhura Bhave
0395b186ad Merge branch '2.1.x' into 2.2.x 2020-06-15 09:23:26 -07:00
Madhura Bhave
9d9a90ccd4 Polish 2020-06-15 09:22:14 -07:00
Phillip Webb
209c5c4013 Merge branch '2.1.x' into 2.2.x 2020-06-11 23:19:16 -07:00
Phillip Webb
6d93d732b4 Cherry-pick release script updates
Cherry-pick release script updates from 2.3.x

See gh-21474
2020-06-11 23:15:10 -07:00
Phillip Webb
1706ae29f5 Support octet-stream response from sonatype
See gh-21474
2020-06-11 22:56:43 -07:00
Phillip Webb
dbda2d0b92 Improve release script logging
Improve logging and fix a few issue with the release script.

See gh-21474
2020-06-11 22:29:50 -07:00
Phillip Webb
ce011ca384 Check if promotion has already occurred
Update the release tooling to check for bintray published artifacts
using SHA256 digests and to also check before attempting a promote.

See gh-21474
2020-06-11 21:08:59 -07:00
Phillip Webb
d650c5fdf2 Polish 2020-06-11 21:08:52 -07:00
Phillip Webb
de8970ec8e Update copyright year of changed files 2020-06-05 15:37:24 -07:00
Phillip Webb
8eec9cf32f Restore release scripts POM
Closes gh-21460
2020-05-14 21:16:12 -07:00
Phillip Webb
c7023c5b17 Increase bintray timeout 2020-05-14 21:04:29 -07:00
Phillip Webb
9a1a2ca613 Merge branch '2.2.x'
Closes gh-21448
2020-05-13 23:28:29 -07:00
Phillip Webb
5eabb0400c Merge branch '2.1.x' into 2.2.x
Closes gh-21447
2020-05-13 23:01:02 -07:00
Phillip Webb
d7c7ca31f3 Upgrade to spring-javaformat 0.0.22
Closes gh-21446
2020-05-13 23:00:18 -07:00