From ed6ff13976f73af466e95c19db50461c20665c7a Mon Sep 17 00:00:00 2001 From: kezhenxu94 Date: Wed, 13 Oct 2021 21:43:20 +0800 Subject: [PATCH] Prepare 0.9.0 release (#123) --- CHANGES.md | 20 ++++++++++++++++++++ Dockerfile | 7 ++++--- Makefile | 2 +- 3 files changed, 25 insertions(+), 4 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 20b5af53..3017d4ed 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,6 +2,26 @@ Changes by Version ================== Release Notes. +0.9.0 +------------------ + +### Features + +- Add the sub-command `dependency instance` to query instance relationships (#117) + +### Bug Fixes + +- fix: `multiple-linear` command's `labels` type can be string type (#122) +- Add missing `dest-service-id` `dest-service-name` to `metrics linear` command (#121) +- Fix the wrong name when getting `destInstance` flag (#118) + +### Chores + +- Upgrade Go version to 1.16 (#120) +- Migrate tests to infra-e2e, overhaul the flags names (#119) +- Publish Docker snapshot images to ghcr (#116) +- Remove dist directory when build release source tar (#115) + 0.8.0 ------------------ diff --git a/Dockerfile b/Dockerfile index 1217f171..e220dab9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,10 +13,11 @@ # See the License for the specific language governing permissions and # limitations under the License. -ARG VERSION - FROM golang:1.16 AS builder +ARG VERSION + +ENV VERSION=$VERSION ENV CGO_ENABLED=0 ENV GO111MODULE=on @@ -28,7 +29,7 @@ RUN go mod download COPY . . -RUN make linux && mv bin/swctl-*-linux-amd64 /swctl +RUN make install DESTDIR=/ FROM alpine diff --git a/Makefile b/Makefile index 5b74b3e7..ef592ffb 100644 --- a/Makefile +++ b/Makefile @@ -137,7 +137,7 @@ check-codegen: fi .PHONY: docker -docker: +docker: clean docker build --build-arg VERSION=$(VERSION) . -t $(HUB)/$(APP_NAME):$(VERSION) .PHONY: docker.push