Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1.0-dev
1.1.0
4 changes: 2 additions & 2 deletions tests/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ test_local_installation() {
assert_equal 'present' "$([[ -x "${bin_dir}/mcserver-kit" ]] && printf present)" 'the installer creates the launcher'
installed_help="$("${bin_dir}/mcserver-kit" --help)"
assert_equal 'present' "$(grep -q 'mcserver-kit setup' <<<"$installed_help" && printf present)" 'the installed launcher exposes subcommand help'
assert_equal '1.1.0-dev' "$("${bin_dir}/mcserver-kit" --version | awk '{print $2}')" 'the installed launcher reports its version'
assert_equal '1.1.0' "$("${bin_dir}/mcserver-kit" --version | awk '{print $2}')" 'the installed launcher reports its version'
assert_equal 'present' "$([[ -f "${config_dir}/config.yml" ]] && printf present)" 'the installer creates the initial config'
assert_equal 'present' "$([[ -f "${install_dir}/libexec/mcserver-kit/windows-dialog.ps1" ]] && printf present)" 'the installer includes the Windows dialog helper'
assert_equal 'present' "$([[ -x "${install_dir}/libexec/mcserver-kit/lang.sh" ]] && printf present)" 'the installer includes the language command'
Expand All @@ -335,7 +335,7 @@ test_local_installation() {
assert_equal 'en' "$(cat "${config_dir}/language")" 'the installer defaults to English'
assert_equal '1' "$(grep -Fxc '# >>> mcserver-kit PATH >>>' "$shell_rc")" 'the installer registers one managed PATH block'
assert_equal 'present' "$(grep -q 'mcserver-kit setup' "$install_log" && printf present)" 'the installer instructs the user to run setup'
assert_equal 'present' "$(grep -q 'mcserver-kit 1.1.0-dev' "$install_log" && printf present)" 'the installer shows the installed version'
assert_equal 'present' "$(grep -q 'mcserver-kit 1.1.0' "$install_log" && printf present)" 'the installer shows the installed version'
assert_equal 'absent' "$(! grep -q '初回セットアップを開始' "$install_log" && printf absent)" 'the installer does not start setup automatically'

printf '\n# preserve-on-update\n' >>"${config_dir}/config.yml"
Expand Down