我的sbt-release插件似乎错误地在SVN中设置了项目路径。调用sbt版本,插件将正确运行所有程序,直到进入'tag'阶段。它提交了version.sbt文件中的更改,但无法创建标签。有日志:
[info] Setting version to '1.0.0'.
[info] Reapplying settings...
[info] Set current project to film-w-tv (in build file:/home/pawel/Workspace/scala/filmwtv/)
[info] Reapplying settings...
[info] Set current project to film-w-tv (in build file:/home/pawel/Workspace/scala/filmwtv/)
svn: warning: W170000: URL 'file:///opt/svn/scala/filmwtv/tags/v1.0.0' non-existent in revision 782
svn: E200009: Could not display info for all targets because some targets don't exist
svn: warning: W170000: URL 'file:///opt/svn/scala/filmwtv/tags/v1.0.0' non-existent in revision 782
svn: E200009: Could not display info for all targets because some targets don't exist
[info] svn: E160013: File not found: revision 782, path '/scala/filmwtv/trunk/filmwt'
[error] java.lang.RuntimeException: Nonzero exit value: 1
请注意,日志的路径/ scala / filmwtv / trunk / filmwt不正确。它应该是/ scala / filmwtv / trunk / filmwtv。我想这是失败的原因:标签将从错误的中继路径中复制。如何设置?
致谢