upgrading quick scripts to 0.18.1

This commit is contained in:
theguy951357 2023-02-23 08:48:35 -05:00
parent aff2918076
commit 3f27d4df4d
2 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,6 @@
#!/bin/bash
LATEST="v0.18.0"
LATEST="v0.18.1"
print_logo() {(
cat << "EOF"
@ -40,7 +40,7 @@ usage () {(
echo " \"branch\": - will install a specific branch using remote git and dockerhub "
echo " -t tag of build; if buildtype=version, tag=version. If builtype=branch or builtype=local, tag=branch"
echo "examples:"
echo " nm-quick.sh -e -b version -t v0.18.0"
echo " nm-quick.sh -e -b version -t v0.18.1"
echo " nm-quick.sh -e -b local -t feature_v0.17.2_newfeature"
echo " nm-quick.sh -e -b branch -t develop"
exit 1

View file

@ -187,7 +187,7 @@ collect_server_settings() {
STUN_NAME="stun.$SERVER_NAME"
echo "-----------------------------------------------------"
echo "Netmaker v0.18.0 requires a new DNS entry for $STUN_NAME."
echo "Netmaker v0.18.1 requires a new DNS entry for $STUN_NAME."
echo "Please confirm this is added to your DNS provider before continuing"
echo "(note: this is not required if using an nip.io address)"
echo "-----------------------------------------------------"
@ -245,7 +245,7 @@ set_compose() {
sed -i "s/v0.17.1/testing/g" /root/docker-compose.yml
# RELEASE_REPLACE - Use this once release is ready
#sed -i "s/v0.17.1/v0.18.0/g" /root/docker-compose.yml
#sed -i "s/v0.17.1/v0.18.1/g" /root/docker-compose.yml
yq ".services.netmaker.environment.SERVER_NAME = \"$SERVER_NAME\"" -i /root/docker-compose.yml
yq ".services.netmaker.environment += {\"BROKER_NAME\": \"$BROKER_NAME\"}" -i /root/docker-compose.yml
yq ".services.netmaker.environment += {\"STUN_NAME\": \"$STUN_NAME\"}" -i /root/docker-compose.yml
@ -447,7 +447,7 @@ join_networks() {
cat << "EOF"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
The Netmaker Upgrade Script: Upgrading to v0.18.0 so you don't have to!
The Netmaker Upgrade Script: Upgrading to v0.18.1 so you don't have to!
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
EOF