File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ GREEN='\033[0;32m'
77BLUE=' \033[0;34m'
88NC=' \033[0m'
99
10- VERSION=" 1.4.5 "
10+ VERSION=" 1.4.6 "
1111DIST_DIR=" dist"
1212ARCHIVE_NAME=" shipnode-payload.tar.gz"
1313INSTALLER_NAME=" shipnode-installer.sh"
@@ -90,7 +90,7 @@ YELLOW='\033[1;33m'
9090BLUE='\033[0;34m'
9191NC='\033[0m'
9292
93- VERSION="1.4.5 "
93+ VERSION="1.4.6 "
9494INSTALL_DIR="$HOME/.shipnode"
9595
9696# Parse flags
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ BLUE='\033[0;34m'
1010NC=' \033[0m'
1111
1212echo -e " ${BLUE} ╔════════════════════════════════════╗${NC} "
13- echo -e " ${BLUE} ║ ShipNode Installer v1.4.5 ║${NC} "
13+ echo -e " ${BLUE} ║ ShipNode Installer v1.4.6 ║${NC} "
1414echo -e " ${BLUE} ╚════════════════════════════════════╝${NC} "
1515echo
1616
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ cmd_upgrade() {
1313 # Use -w to get HTTP status code, -s for silent, -S to show errors
1414 api_response=$( curl -sSL -w " \n%{http_code}" " https://api.github.com/repos/devalade/shipnode/releases/latest" 2> /dev/null)
1515 http_code=$( echo " $api_response " | tail -n1)
16- api_response=$( echo " $api_response " | head -n-1 )
16+ api_response=$( printf ' %s\n ' " $api_response " | sed ' $d ' )
1717
1818 if [ " $http_code " = " 404" ]; then
1919 error " No releases available yet. Please check $repo_url /releases"
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ BLUE='\033[0;34m'
1010NC=' \033[0m' # No Color
1111
1212# ShipNode version
13- VERSION=" 1.4.5 "
13+ VERSION=" 1.4.6 "
1414
1515# SSH multiplexing for connection reuse
1616SSH_CONTROL_PATH=" /tmp/shipnode-ssh-%r@%h:%p"
You can’t perform that action at this time.
0 commit comments