diff --git a/Taskfile.yml b/Taskfile.yml index f182be8..33a5e9f 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -3,8 +3,8 @@ version: "3" vars: APP_NAME: node-manager-plugin BIN_DIR: build - MAINNET_VERSION: "MAIN.5.0" - BUILDNET_VERSION: "DEVN.30.0" + MAINNET_VERSION: "MAIN.5.1" + BUILDNET_VERSION: "DEVN.30.2" NODE_MASSA_DIR: "build/node-massa" tasks: diff --git a/api/pluginAPI-V0.yml b/api/pluginAPI-V0.yml index e6168dd..56e7c36 100644 --- a/api/pluginAPI-V0.yml +++ b/api/pluginAPI-V0.yml @@ -313,7 +313,7 @@ definitions: Network: type: object properties: - version: # network value is contained in the version name. Ex: MAIN.4.2 + version: # network value is contained in the version name. Ex: MAIN.5.1 type: string description: The version of the node network hasPwd: diff --git a/int/config/plugin_info.go b/int/config/plugin_info.go index ff2c49b..73211cc 100644 --- a/int/config/plugin_info.go +++ b/int/config/plugin_info.go @@ -33,8 +33,8 @@ func init() { PwdBuildnet: "", AutoRestart: false, IsMainnet: true, - MainnetVersion: "MAIN.5.0", - BuildnetVersion: "DEVN.30.0", + MainnetVersion: "MAIN.5.1", + BuildnetVersion: "DEVN.30.2", } } diff --git a/int/config/plugin_info_test.go b/int/config/plugin_info_test.go index 5160de1..dacd7b4 100644 --- a/int/config/plugin_info_test.go +++ b/int/config/plugin_info_test.go @@ -12,13 +12,13 @@ func TestRemoveOldNodeVersionsArtifacts(t *testing.T) { // Prepare plugin info with current versions pi := &PluginInfo{ - MainnetVersion: "MAIN.5.0", - BuildnetVersion: "DEVN.30.0", + MainnetVersion: "MAIN.5.1", + BuildnetVersion: "DEVN.30.2", } // Create directories representing versions - mustMkdir(t, filepath.Join(root, "MAIN.5.0")) // should stay - mustMkdir(t, filepath.Join(root, "DEVN.30.0")) // should stay + mustMkdir(t, filepath.Join(root, "MAIN.5.1")) // should stay + mustMkdir(t, filepath.Join(root, "DEVN.30.2")) // should stay mustMkdir(t, filepath.Join(root, "MAIN.3.0")) // should be removed mustMkdir(t, filepath.Join(root, "DEVN.28.16")) // should be removed mustMkdir(t, filepath.Join(root, "random-other")) // should be removed @@ -34,8 +34,8 @@ func TestRemoveOldNodeVersionsArtifacts(t *testing.T) { } // Assert expected directories - assertExists(t, filepath.Join(root, "MAIN.5.0"), true) - assertExists(t, filepath.Join(root, "DEVN.30.0"), true) + assertExists(t, filepath.Join(root, "MAIN.5.1"), true) + assertExists(t, filepath.Join(root, "DEVN.30.2"), true) assertExists(t, filepath.Join(root, "MAIN.3.0"), false) assertExists(t, filepath.Join(root, "DEVN.28.16"), false) assertExists(t, filepath.Join(root, "random-other"), false) diff --git a/manifest.json b/manifest.json index 69ded98..63224d0 100644 --- a/manifest.json +++ b/manifest.json @@ -4,6 +4,6 @@ "description": "Massa blockchain official node manager", "logo": "favicon.svg", "home": "", - "version": "0.4.6", + "version": "0.4.7", "apispec": "" } \ No newline at end of file diff --git a/scripts/ci-setup-node-from-linux.sh b/scripts/ci-setup-node-from-linux.sh index 8c2358f..94ed042 100755 --- a/scripts/ci-setup-node-from-linux.sh +++ b/scripts/ci-setup-node-from-linux.sh @@ -6,7 +6,7 @@ # Downloads zip archives and extracts massa-node and massa-client from the massa/ folder # # Usage: ./ci-setup-node-from-linux.sh -# Example: ./ci-setup-node-from-linux.sh "MAIN.4.2" "DEVN.29.2" "build/node-massa" +# Example: ./ci-setup-node-from-linux.sh "MAIN.5.1" "DEVN.30.2" "build/node-massa" set -e # Exit on any error @@ -14,7 +14,7 @@ set -e # Exit on any error if [ $# -ne 3 ]; then echo "Error: This script requires exactly 3 parameters" echo "Usage: $0 " - echo "Example: $0 \"MAIN.4.2\" \"DEVN.29.2\" \"build/node-massa\"" + echo "Example: $0 \"MAIN.5.1\" \"DEVN.30.2\" \"build/node-massa\"" exit 1 fi diff --git a/scripts/setup-node-unix.sh b/scripts/setup-node-unix.sh index c4c039d..7f8e7f9 100755 --- a/scripts/setup-node-unix.sh +++ b/scripts/setup-node-unix.sh @@ -5,7 +5,7 @@ # Should be called by taskfile. # # Usage: ./setup-node-unix.sh -# Example: ./setup-node-unix.sh "MAIN.5.0" "DEVN.30.0" "massa_MAIN.5.0_release_linux.tar.gz" "massa_DEVN.30.0_release_linux.tar.gz" "build/node-massa" +# Example: ./setup-node-unix.sh "MAIN.5.1" "DEVN.30.2" "massa_MAIN.5.1_release_linux.tar.gz" "massa_DEVN.30.2_release_linux.tar.gz" "build/node-massa" set -e # Exit on any error @@ -13,7 +13,7 @@ set -e # Exit on any error if [ $# -ne 5 ]; then echo "Error: This script requires exactly 5 parameters" echo "Usage: $0 " - echo "Example: $0 \"MAIN.5.0\" \"DEVN.30.0\" \"massa_MAIN.5.0_release_linux.tar.gz\" \"massa_DEVN.30.0_release_linux.tar.gz\" \"build/node-massa\"" + echo "Example: $0 \"MAIN.5.1\" \"DEVN.30.2\" \"massa_MAIN.5.1_release_linux.tar.gz\" \"massa_DEVN.30.2_release_linux.tar.gz\" \"build/node-massa\"" exit 1 fi