This is an automated email from the ASF dual-hosted git repository. hanahmily pushed a commit to branch release-4.6.0 in repository https://gitbox.apache.org/repos/asf/skywalking-helm.git
commit 5d8b2f33a677ba28635d843cea3c3599e5ead86c Author: Gao Hongtao <hanahm...@gmail.com> AuthorDate: Wed May 22 00:43:11 2024 +0000 Make release process work with Linux Signed-off-by: Gao Hongtao <hanahm...@gmail.com> --- CHANGES.md | 1 + Makefile | 12 ++++++++---- chart/skywalking/Chart.yaml | 2 +- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index d0af895..82e4c3e 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -9,6 +9,7 @@ Release Notes. - Bump up swck to v0.9.0. - Bump up BanyanDB Helm version to 0.2.0. - Bump up OAP and UI to 10.0.0. +- Make release process work with Linux. 4.5.0 ------------------ diff --git a/Makefile b/Makefile index c01775d..613709d 100644 --- a/Makefile +++ b/Makefile @@ -15,9 +15,11 @@ SHELL = /bin/bash -eo pipefail +TMPDIR ?= /tmp + CHART_DIR = chart/skywalking -VERSION = $(shell cat ${CHART_DIR}/Chart.yaml | grep -p '^version: ' | awk '{print $$2}') -CHART_NAME = $(shell cat ${CHART_DIR}/Chart.yaml | grep -p '^name: ' | awk '{print $$2}') +VERSION = $(shell cat ${CHART_DIR}/Chart.yaml | grep '^version: ' | awk '{print $$2}') +CHART_NAME = $(shell cat ${CHART_DIR}/Chart.yaml | grep '^name: ' | awk '{print $$2}') RELEASE_SRC = ${CHART_NAME}-${VERSION}-src @@ -45,14 +47,16 @@ clean: rm -rf ${RELEASE_SRC}.tgz.sha512 release-src: - tar -zcvf $(RELEASE_SRC).tgz \ + rm -f $(TMPDIR)/$(RELEASE_SRC).tgz && \ + tar -zcvf $(TMPDIR)/$(RELEASE_SRC).tgz \ --exclude bin \ --exclude .git \ --exclude .idea \ --exclude .gitignore \ --exclude .DS_Store \ --exclude .github \ - . + . && \ + mv $(TMPDIR)/$(RELEASE_SRC).tgz . release: release-src package gpg --batch --yes --armor --detach-sig $(RELEASE_SRC).tgz diff --git a/chart/skywalking/Chart.yaml b/chart/skywalking/Chart.yaml index dadeef4..ffb12bc 100644 --- a/chart/skywalking/Chart.yaml +++ b/chart/skywalking/Chart.yaml @@ -16,7 +16,7 @@ apiVersion: v2 name: skywalking-helm home: https://skywalking.apache.org -version: 4.5.0 +version: 4.6.0 description: Helm Chart for Apache SkyWalking icon: https://raw.githubusercontent.com/apache/skywalking-kubernetes/master/logo/sw-logo-for-chart.jpg sources: