change version directory

This commit is contained in:
chrislu
2025-06-03 22:46:07 -07:00
parent 7039d5003c
commit bd4891a117
43 changed files with 112 additions and 98 deletions

View File

@@ -10,6 +10,7 @@ import (
"encoding/hex"
"encoding/json"
"fmt"
"github.com/seaweedfs/seaweedfs/weed/util/version"
"io"
"net/http"
"os"
@@ -117,7 +118,7 @@ func runUpdate(cmd *Command, args []string) bool {
}
func downloadRelease(ctx context.Context, target string, ver string) (version string, err error) {
currentVersion := util.VERSION_NUMBER
currentVersion := version.VERSION_NUMBER
rel, err := GitHubLatestRelease(ctx, ver, "seaweedfs", "seaweedfs")
if err != nil {
return "", err