Releases: foldright/bash-buddy
Releases · foldright/bash-buddy
🚼 v0.3.4 Bash Buddy(aka. BaBy)
🍀 Features
- auto-detect
JAVA_HOME
of java versions when running in GitHub Actions ☕️ - turn on color print for
GitHub
actions 🎨
🛠️ Improvement
- use command
realpath
instead ofreadlink
, more portable(supportmacOS
) 🔗 - fix argument count check of
cu::log_then_run
incommon_utils
🩺 - use var
BASH_LINENO
instead oftrap_error_info::get_caller_line_no
🐚 - improve err message of function
jvu::switch_to_jdk
📚 Documentation
- update logo and image links in
README
- update
integration_test.template.sh
- revise README
- add LICENSE
🚀 This version has been used in projects
🚼 v0.3.3 Bash Buddy(aka. BaBy)
🍀 Features
- add new function
cu::print_calling_command_line
- add new function
jvu::switch_to_jdk
🛠️ Improvement
cu::log_then_run
usecu::print_calling_command_line
to print command line- split
java_utils.sh
- reanme
java_build_utils.sh
->maven_utils.sh
🚀 This version has been used in projects
🚼 v0.3.2 Bash Buddy(aka. BaBy)
Improvement
- exclude
fx
andGraalVM
java versions whenswitch_to_jdk
- docs: improve
integration_test.template.sh
this version have been used in
🚼 v0.3.1 Bash Buddy(aka. BaBy)
Refactor/Style
- rename local var
- modify output message of
prepare_jdks::prepare_jdks
Documentation
- improve documents
this version have been used in
🚼 v0.3.0 Bash Buddy(aka. BaBy)
Features
- add functions
cu::version_le
cu::version_gt
cu::is_version_match
cu::get_oldest_version_match
- rename
cu::get_latest_version
tocu::get_latest_version_match
prepare_jdks::switch_to_jdk
support verbose and prepare mode
Documentation
- improve
README.md
- use word
begin
instead ofstart
to correspond toend
Fix
trap_error_info.sh
: fixstack_trace
unbound variablejava_build_utils.sh
: add the missing namespace for function
Refactor
- use
[[]]
instead of[]
for combined condition
this version have been used in
🚼 v0.2.1 Bash Buddy(aka. BaBy)
Features
common_utils.sh
: add funccu::is_blank_string
prepare_jdks::switch_to_jdk
: ignore if java home validation of env varJDKx_HOME
and switch target directory failed, insteaddie
- add
templates
Documentation
- add tool/lib docs in
README.md
Refactor
java_build_utils.sh
:- prefix inner var with
_
- add FIXME comments
- prefix inner var with
Style
- move/add api function doc description to file head
this version have been used in
🚼 v0.2.0 Bash Buddy(aka. BaBy)
Features
prepare_jdks.sh
: smartprepare_jdks::switch_to_jdk
common_utils.sh
: add new functioncu::get_latest_version
java_build_utils.sh
: add funcjvb::get_mvn_local_repository_dir
- add argument count check for api functions
Fix
- remove executable bit of
trap_error_info.sh
- output additional info to stderr
Refactor
prepare_jdks.sh
: use+=
operator instead of=
for array appendprepare_jdks.sh
: use[[
for combined conditions instead[
Documentation
- add tool/lib docs in
README.md
Style
- set indent size to 2 for shell scripts
this version have been used in
🚼 v0.1.1 Bash Buddy(aka. BaBy)
this version have been used in