Во-первых, убедитесь, что вы используете последнюю sbt-release
версию (в настоящее время 1.0.3 от 18.10.2016):
with-defaults
Выполнить with-defaults
как последний аргумент команды:
sbt "release release-version 1.2.3 next-version 1.3.0 with-defaults"
Вот результат работы внутри TeamCity:
[19:46:27] [Step 2/2] [info] Checking remote [origin] ...
[19:46:32] [Step 2/2] [info] Setting version to '1.2.3'.
[19:46:32] [Step 2/2] [info] Reapplying settings...
[19:46:34] [Step 2/2] [info] Set current project to ***
[19:46:34] [Step 2/2] [info] [development 7302685] Setting version to 1.2.3
[19:46:34] [Step 2/2] [info] 1 file changed, 1 insertion(+), 1 deletion(-)
[19:46:34] [Step 2/2] [info] Reapplying settings...
[19:46:35] [Step 2/2] [info] Set current project to ***
[19:46:35] [Step 2/2] [info] git push sends its console output to standard error, which will cause the next few lines to be marked as [error].
[19:46:36] [Step 2/2] [error] To ****
[19:46:36] [Step 2/2] [error] 4342272..7302685 development -> development
[19:46:37] [Step 2/2] [error] Everything up-to-date