Skip to content

Commit 0de963a

Browse files
committedAug 17, 2015
Use non alias svn commands
1 parent cb2b6f7 commit 0de963a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/main/groovy/net/researchgate/release/SvnAdapter.groovy

+2-2
Original file line numberDiff line numberDiff line change
@@ -140,12 +140,12 @@ class SvnAdapter extends BaseScmAdapter {
140140
String svnRoot = props.releaseSvnRoot
141141
String svnTag = tagName()
142142

143-
svnExec(['cp', "${svnUrl}@${svnRev}", "${svnRoot}/tags/${svnTag}", '--parents', '-m', message])
143+
svnExec(['copy', "${svnUrl}@${svnRev}", "${svnRoot}/tags/${svnTag}", '--parents', '-m', message])
144144
}
145145

146146
@Override
147147
void commit(String message) {
148-
String out = svnExec(['ci', '-m', message], errorMessage: 'Error committing new version', errorPatterns: [ERROR])
148+
String out = svnExec(['commit', '-m', message], errorMessage: 'Error committing new version', errorPatterns: [ERROR])
149149

150150
// After the first commit we need to find the new revision so the tag is made from the correct revision
151151
if (project.properties.releaseSvnRev == null) {

0 commit comments

Comments
 (0)