Make commit & tag messages build-level settings #205
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I end up doing this in every project where I use sbt-release:
Then I need to add
settings(releaseSettings)
to every applicable module of multi-project builds or include them in some common settings collection. That has become tedious, so here I am. I would like for these to be able to delegate toThisBuild
so I can just do this once, perhaps even in an umbrella plugin for team standards:Could more settings sensibly move to
buildSettings
? Quite possibly, I didn't think about it very hard, these are ones that initially were of interest to me but I'm open to suggestions.Also the scripted suite seems to have some issue in my environment, if Travis fails for this PR or you'd like a new test for this change I'll dig further into what's not kosher on my machine. Apologies for being in a bit of a rush.
(By the way, if you're open to changing the default messages to present tense, imperative mood as many style guides call for in accordance with the Git project's own convention, I'd be happy to change it. But I suspect people could have automation scripting in their pipeline reliant on the existing default messages, so it might be considered a compatibility breakage).