Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes required to fully and correctly release 1.4.0 #123

Merged
merged 7 commits into from
Oct 31, 2023

Conversation

andrew-nowak
Copy link
Member

@andrew-nowak andrew-nowak commented Oct 31, 2023

@guardian/digital-cms

I made a couple of mistakes in the previous PR - to correctly get sbt-release to release a multiproject with differing cross scala configurations, we need to set releaseCrossBuild off (confusing! but gives control over crossbuilding to sbt, instead of sbt-release, and sbt handles it better); and include the sonatypeReleaseSettings on the root project, and sonatype won't publish without a homepage set.

Once all of that is done, the only and only correct way to run a release is sbt clean release (and NOT sbt clean +release, sbt clean "release cross" or any other invocation which refers to crossbuilding!)

@andrew-nowak andrew-nowak requested a review from a team as a code owner October 31, 2023 14:08
build.sbt Show resolved Hide resolved
@andrew-nowak andrew-nowak merged commit 46c6cde into main Oct 31, 2023
1 check passed
@andrew-nowak andrew-nowak deleted the an/release_1_4_0 branch October 31, 2023 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants