Marco Vermeulen
a69c154178
Update version of production to 5.7.3
5.7.3
2018-09-28 12:43:29 +01:00
Marco Vermeulen
d62dfe7ee3
Fix digital binary upload on travis.
2018-09-16 16:16:23 +01:00
Marco Vermeulen
1fe9a91907
Upload archive to digitalocean space.
2018-09-16 15:54:38 +01:00
Kai Weber
45886e93cf
Use 'tee' to write status files
...
Replace the redirect operator >| with tee.
2018-09-14 13:33:31 +01:00
Kai Weber
5c49a42448
Use '>|' to write var/ status files
...
Setting 'noclobber' in bash or zsh prevents writing to an existing
regular file when using > as redirecting operator. Setting 'noclobber' allows
users of interactive shells to prevent accidential overwriting of
existing files.
bash and zsh allow to use >| as redirection operator so that the
redirection is attempted.
Because the write to the status files is required and not by accident
the >| is used in those cases.
2018-09-14 13:33:31 +01:00
qudongfang
21e1e73174
change 'sdkman_curl_continue_automatically' option to 'sdkman_curl_continue'
2018-08-24 07:38:16 +02:00
qudongfang
df6bdc278e
download with retry
2018-08-24 07:38:16 +02:00
Elliot Weiser
fb820f2f8b
Return non-zero exit code on failure
...
Failed installations should return an appropriate error code to
indicate in some way to the shell (other than just stdout) that
something went wrong.
2018-08-18 22:18:44 +01:00
Marco Vermeulen
dd5a4122b9
Issue #664 : Fixes bug in length validation of local version install.
2018-07-27 16:30:08 +01:00
Marco Vermeulen
2bca60be9d
Fix broadcast flush issue.
2018-07-19 08:38:47 +01:00
Marco Vermeulen
4a5ca28f87
Rename current to candidates api.
2018-07-14 17:37:36 +01:00
Marco Vermeulen
54fb03893b
Remove all references to legacy endpoint.
2018-07-14 17:21:09 +01:00
Marco Vermeulen
5ffb6cc776
Cut away from legacy candidates service for version list view.
2018-07-14 17:18:46 +01:00
Jeff Beck
0784013d7c
Validate Version on Local Install
...
For installing local development versions validate the length doesn't exceed 15 char which will end up being truncated in the list view.
This addresses #619
2018-07-10 22:19:44 +01:00
Marco Vermeulen
14efa3065c
Use environment variable to display legacy bash version.
2018-07-04 01:10:03 +01:00
Marco Vermeulen
53b574de2c
Further tweaks to update command output.
2018-07-04 00:36:44 +01:00
Marco Vermeulen
057997b678
Convert spaces to tabs.
2018-07-04 00:03:01 +01:00
Marco Vermeulen
b4e400e2b1
Fix substring bug on update.
2018-07-03 23:58:48 +01:00
Marco Vermeulen
96e4d7d051
Rename local diff variable.
2018-07-03 23:25:08 +01:00
Marco Vermeulen
35328ea944
Improve bash version handling.
2018-07-03 11:58:55 +01:00
Marco Vermeulen
227b48d647
Upgrade to gradle 4.8
2018-06-17 22:40:53 +01:00
Marco Vermeulen
14a760ba58
Remove build scan plugin.
2018-06-17 22:40:53 +01:00
Marco Vermeulen
a3ea00b280
Remove obsolete help for flush command.
2018-06-17 22:40:53 +01:00
Marco Vermeulen
d7991f3dd9
Update README.md
2018-06-02 15:00:35 +01:00
Marco Vermeulen
e0b95001d3
Improve error message for version not found.
2018-05-27 23:54:07 +01:00
Giuseppe Ricupero
addf0e9d67
Refine bash major version check
...
The previous bash version check, `bash --version | grep ... `, may not work when the output is not in English (for example, it didn't work when the output was in Italian). For the same reason, I've modified also the line 113, to output the first command output of `bash --version` without checking for the content.
2018-05-22 13:05:12 +01:00
Marco Vermeulen
8e0ac4eaaf
Tweak bash warning messages.
2018-04-06 14:01:32 +01:00
Marco Vermeulen
1f04e33eeb
Add bash 3.x workaround for update command.
2018-04-06 13:47:09 +01:00
Marco Vermeulen
6778824084
Revert "Rename root project to sdkman-cli"
...
This reverts commit 61de6bc0e4 .
2018-04-06 13:14:26 +01:00
Marco Vermeulen
3dc04555fd
Rename root project to sdkman-cli
2018-04-06 12:59:35 +01:00
Marco Vermeulen
dcb98336ad
Remove obsolete flush command.
2018-04-06 11:25:54 +01:00
Marco Vermeulen
61de6bc0e4
Rename root project to sdkman-cli
2018-04-06 11:07:29 +01:00
jjlin
c1189339e4
sdkman-init.sh: various optimizations and cleanup ( #625 )
...
In my tests, this reduces execution time by about 50% with `bash`,
and 40% with `zsh`. Most of the speedup is from removing calls to
external commands like `basename` and `cat`.
2018-02-26 21:28:13 +00:00
Marco Vermeulen
8d41092427
Touch the candidate cache on update.
2018-01-30 19:57:33 +01:00
Marco Vermeulen
1763a01c6f
Improve wording and colours for cache update messages.
2018-01-30 19:57:33 +01:00
Albert Serrallé Ríos
21d738994d
Fix zsh plugin readme ( #566 )
2018-01-30 18:11:08 +00:00
Marco Vermeulen
090675d2a2
Move all cache functions into dedicated script.
2017-12-22 09:19:01 +00:00
Marco Vermeulen
85a7c8eecf
Remove deprecated outdated alias and mnemonic.
2017-12-22 08:43:17 +00:00
Marco Vermeulen
cc97303dff
Fix timed out tests.
2017-12-22 08:38:38 +00:00
Marco Vermeulen
b7a00f683d
Defer version cache check to command invocation.
2017-12-21 08:47:47 +00:00
Marcus Fihlon
3c3044bda6
🐛 Linux find is somewhat sensitive to the order of the parameters. #163 ( #617 )
2017-12-13 10:47:12 +00:00
Marcus Fihlon
039c32eef7
Skip all files in versions listing #163 ( #616 )
...
* 🐛 Skip all files in versions listing #163
* 🐛 We need to accept sumbolic links, too #163
2017-12-12 22:15:46 +00:00
Marco Vermeulen
2d5a8813ab
Make tweaks to presentation of update command.
2017-12-06 08:56:40 +00:00
Marco Vermeulen
733d7d38c3
Allow update command if candidates cache has expired.
2017-12-05 18:29:30 +00:00
Marco Vermeulen
1056d27c53
Minor tweaks and cleanup.
2017-12-05 18:04:58 +00:00
Marco Vermeulen
c438dfef3e
Perform candidate cache check in main function.
2017-12-05 18:04:58 +00:00
Marco Vermeulen
6836ecf170
Remove obsolete step defs.
2017-12-05 18:04:58 +00:00
Marco Vermeulen
661d3dbf7d
Dump environment information when building bash env.
2017-12-05 18:04:58 +00:00
Marco Vermeulen
d097ee7b6b
Introduce new update feature.
2017-12-05 18:04:58 +00:00
Marco Vermeulen
c2dc5540f8
Update copyright message.
2017-12-05 18:04:58 +00:00