You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by li...@apache.org on 2024/01/02 03:10:26 UTC

(dubbo-go) branch release-3.1 updated: update version (#2551)

This is an automated email from the ASF dual-hosted git repository.

liujun pushed a commit to branch release-3.1
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git


The following commit(s) were added to refs/heads/release-3.1 by this push:
     new 8995898fd update version (#2551)
8995898fd is described below

commit 8995898fd79bedff2f6570d5f834c0f4fd090e7a
Author: finalt <fi...@163.com>
AuthorDate: Tue Jan 2 11:10:21 2024 +0800

    update version (#2551)
---
 common/constant/version.go                         |  4 ++--
 metadata/service/exporter/configurable/exporter.go |  3 +--
 version.go                                         | 21 ---------------------
 3 files changed, 3 insertions(+), 25 deletions(-)

diff --git a/common/constant/version.go b/common/constant/version.go
index fe4589144..35f30b9b4 100644
--- a/common/constant/version.go
+++ b/common/constant/version.go
@@ -18,7 +18,7 @@
 package constant
 
 const (
-	Version = "3.0.4"      // apache/dubbo-go version
+	Version = "3.1.1"      // apache/dubbo-go version
 	Name    = "dubbogo"    // module name
-	DATE    = "2022/12/01" // release date
+	DATE    = "2023/12/12" // release date
 )
diff --git a/metadata/service/exporter/configurable/exporter.go b/metadata/service/exporter/configurable/exporter.go
index f09d1da09..6fcdc444a 100644
--- a/metadata/service/exporter/configurable/exporter.go
+++ b/metadata/service/exporter/configurable/exporter.go
@@ -26,7 +26,6 @@ import (
 )
 
 import (
-	"dubbo.apache.org/dubbo-go/v3"
 	"dubbo.apache.org/dubbo-go/v3/common"
 	"dubbo.apache.org/dubbo-go/v3/common/constant"
 	"dubbo.apache.org/dubbo-go/v3/common/extension"
@@ -95,7 +94,7 @@ func getMetadataPort() string {
 		} else {
 			logger.Warnf("[Metadata Service] Dubbo-go %s version's MetadataService only support dubbo protocol,"+
 				"MetadataService will use random port",
-				dubbo.Version)
+				constant.Version)
 		}
 	}
 	return port
diff --git a/version.go b/version.go
deleted file mode 100644
index a6f6dfdfc..000000000
--- a/version.go
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package dubbo
-
-// dubbo-go version
-const Version = "3.1.1"