Commit d95ccbd
committed
release-version.sh: try again with -U as needed
It's nice if, when failing to extract the version due to dependencies
not being present in the remote repository, we first try again using -U
before giving up. Otherwise, we may end up with the unfortunate error:
Failure to find <artifact> in
https://maven.scijava.org/content/groups/public was cached in the
local repository, resolution will not be reattempted until the update
interval of scijava.public has elapsed or updates are forced
If the artifact has been successfully deployed after the local system
last checked for it, but 24 hours has not yet elapsed, the -U flag will
force a new check to find the artifact, and the release can continue.1 parent 47781f9 commit d95ccbd
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
116 | 118 | | |
117 | 119 | | |
118 | 120 | | |
| |||
0 commit comments