This is an automated email from the ASF dual-hosted git repository.
hanahmily pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-helm.git
The following commit(s) were added to refs/heads/master by this push:
new 739dbe5 Make release process work with Linux (#150)
739dbe5 is described below
commit 739dbe570f5ca84b31416ad374640cf2e9cfaa7d
Author: Gao Hongtao <[email protected]>
AuthorDate: Wed May 22 10:23:22 2024 +0800
Make release process work with Linux (#150)
* Make release process work with Linux
---------
Signed-off-by: Gao Hongtao <[email protected]>
---
CHANGES.md | 1 +
Makefile | 14 +++++++++-----
chart/skywalking/Chart.yaml | 2 +-
3 files changed, 11 insertions(+), 6 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..b245f6e 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
@@ -32,6 +34,7 @@ package: prepare
rm -rf ${CHART_DIR}/LICENSE
clean:
+ rm -f $(TMPDIR)/$(RELEASE_SRC).tgz \
rm -rf bin/ \
rm -rf ${CHART_DIR}/NOTICE \
rm -rf ${CHART_DIR}/LICENSE \
@@ -44,15 +47,16 @@ clean:
rm -rf ${RELEASE_SRC}.tgz.asc \
rm -rf ${RELEASE_SRC}.tgz.sha512
-release-src:
- tar -zcvf $(RELEASE_SRC).tgz \
+release-src: clean
+ 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: