diff --git a/controller/go.mod b/controller/go.mod index 90d6ced8..37f8b184 100644 --- a/controller/go.mod +++ b/controller/go.mod @@ -43,8 +43,8 @@ require ( k8s.io/api v0.29.3 k8s.io/apimachinery v0.29.3 k8s.io/client-go v0.29.3 - mosn.io/htnn/api v0.4.1 - mosn.io/htnn/types v0.4.1 + mosn.io/htnn/api v0.5.0 + mosn.io/htnn/types v0.5.0 sigs.k8s.io/controller-runtime v0.17.3 sigs.k8s.io/gateway-api v1.0.0 sigs.k8s.io/yaml v1.4.0 diff --git a/e2e/go.mod b/e2e/go.mod index 719f6c6c..88a8df0d 100644 --- a/e2e/go.mod +++ b/e2e/go.mod @@ -23,8 +23,8 @@ require ( k8s.io/api v0.29.3 k8s.io/apimachinery v0.29.3 k8s.io/client-go v0.29.3 - mosn.io/htnn/controller v0.4.1 - mosn.io/htnn/types v0.4.1 + mosn.io/htnn/controller v0.5.0 + mosn.io/htnn/types v0.5.0 sigs.k8s.io/controller-runtime v0.17.3 sigs.k8s.io/gateway-api v1.0.0 ) diff --git a/maintainer/guide.md b/maintainer/guide.md index 04447b6b..9759d84f 100644 --- a/maintainer/guide.md +++ b/maintainer/guide.md @@ -7,14 +7,16 @@ To release a new version, please follow the steps below: 1. Create tag `api/v${version}`. 2. Commit the changes below to the main branch (the CI will fail at this point): * Update those `go.mod` which depend on `mosn.io/htnn/$mod`. + You can refer to https://github.com/mosn/htnn/commit/d651fdf4e14dda6c769c468141d2b151c4c1b80f for an example. 3. Create tag `types/v${version}` for `types` module. Then do the same with `controller` and `plugins`. Rerun the `test` workflow to verify the changes. Don't panic for "server response: not found" error. The sync of sum.golang.org might take half an hour or longer. Try again later. 4. Create tag `image/v${version}` to trigger image building. -5. Submit a new commit with the changes below (ensure the CI passes): +5. Submit a new pull request with the changes below (ensure the CI passes): * Once the image is ready, update the version in the `manifests/charts/*/Chart.yaml`. * Update the `./examples/dev_your_plugin` to use the released version. * Run `make fmt-go`. * Promote the maturity of plugins that meet the criteria to stable by updating `maintainer/feature_maturity_level.yaml` and plugin documentation. * Update the `CHANGELOG.md`. + You can refer to https://github.com/mosn/htnn/pull/777/files for an example. 6. Create a release branch `release/v${version}` from the main branch, like `release/v0.3.2`. The CI will create a new chart package. ## Upgrade components diff --git a/plugins/go.mod b/plugins/go.mod index 33b41802..d4133a11 100644 --- a/plugins/go.mod +++ b/plugins/go.mod @@ -38,8 +38,8 @@ require ( golang.org/x/oauth2 v0.21.0 golang.org/x/time v0.6.0 google.golang.org/protobuf v1.34.2 - mosn.io/htnn/api v0.4.1 - mosn.io/htnn/types v0.4.1 + mosn.io/htnn/api v0.5.0 + mosn.io/htnn/types v0.5.0 ) require ( diff --git a/types/go.mod b/types/go.mod index 5a53d307..b3059154 100644 --- a/types/go.mod +++ b/types/go.mod @@ -36,7 +36,7 @@ require ( istio.io/client-go v1.21.2 k8s.io/apimachinery v0.29.3 k8s.io/client-go v0.29.3 - mosn.io/htnn/api v0.4.1 + mosn.io/htnn/api v0.5.0 sigs.k8s.io/controller-runtime v0.17.3 sigs.k8s.io/gateway-api v1.0.0 )