File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -194,6 +194,14 @@ fi &&
194
194
195
195
# rewrite the tag to include release.properties
196
196
test -n " $tag " &&
197
+ # HACK: SciJava projects use SSH (git@github.com:...) for developerConnection.
198
+ # The release:perform command wants to use the developerConnection URL when
199
+ # checking out the release tag. But reading from this URL requires credentials
200
+ # which we would rather Travis not need. So we replace the scm.url in the
201
+ # release.properties file to use the read-only (git://github.com/...) URL.
202
+ # This is OK, since release:perform does not need write access to the repo.
203
+ sed -i.bak -e ' s|^scm.url=scm\\:git\\:git@github.com\\:|scm.url=scm\\:git\\:git\\://github.com/|' release.properties &&
204
+ rm release.properties.bak &&
197
205
$DRY_RUN git checkout " $tag " &&
198
206
$DRY_RUN git add release.properties &&
199
207
$DRY_RUN git commit --amend --no-edit &&
You can’t perform that action at this time.
0 commit comments