You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2020/11/30 13:16:24 UTC
[skywalking] branch master updated: Enhance release script to
support non-MacOS system (#5926)
This is an automated email from the ASF dual-hosted git repository.
kezhenxu94 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking.git
The following commit(s) were added to refs/heads/master by this push:
new 8e2e9df Enhance release script to support non-MacOS system (#5926)
8e2e9df is described below
commit 8e2e9dfdaf9e49568fafbdc84ba578c6e28dca53
Author: Zhenxu Ke <ke...@apache.org>
AuthorDate: Mon Nov 30 21:16:08 2020 +0800
Enhance release script to support non-MacOS system (#5926)
---
CHANGES.md | 2 +-
docs/en/guides/How-to-release.md | 4 +---
tools/releasing/create_source_release.sh | 12 +++++-------
3 files changed, 7 insertions(+), 11 deletions(-)
diff --git a/CHANGES.md b/CHANGES.md
index a617342..428fbed 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -5,7 +5,7 @@ Release Notes.
8.4.0
------------------
#### Project
-
+* Chore: adapt `create_source_release.sh` to make it runnable on Linux.
#### Java Agent
diff --git a/docs/en/guides/How-to-release.md b/docs/en/guides/How-to-release.md
index 9a35352..b68231d 100644
--- a/docs/en/guides/How-to-release.md
+++ b/docs/en/guides/How-to-release.md
@@ -65,11 +65,9 @@ but just failure. Run `gpg --sign xxx` to any file could remember the password f
```shell
export RELEASE_VERSION=x.y.z (example: RELEASE_VERSION=5.0.0-alpha)
cd tools/releasing
-sh create_source_release.sh
+bash create_source_release.sh
```
-**NOTICE**, `create_source_release.sh` is just suitable for MacOS. Welcome anyone to contribute Windows bat and Linux shell.
-
This scripts should do following things
1. Use `v` + `RELEASE_VERSION` as tag to clone the codes.
1. Make `git submodule init/update` done.
diff --git a/tools/releasing/create_source_release.sh b/tools/releasing/create_source_release.sh
index 6954a4d..16d1bb3 100755
--- a/tools/releasing/create_source_release.sh
+++ b/tools/releasing/create_source_release.sh
@@ -61,13 +61,11 @@ git submodule update
cd ..
tar czf ${PRODUCT_NAME}-src.tgz \
- --exclude ${PRODUCT_NAME}/.git/ --exclude ${PRODUCT_NAME}/.DS_Store/ \
- --exclude ${PRODUCT_NAME}/.github/ --exclude ${PRODUCT_NAME}/.gitignore/ \
- --exclude ${PRODUCT_NAME}/.gitmodules/ \
- --exclude ${PRODUCT_NAME}/skywalking-ui/.git/ --exclude ${PRODUCT_NAME}/skywalking-ui/.DS_Store/ \
- --exclude ${PRODUCT_NAME}/skywalking-ui/.github/ --exclude ${PRODUCT_NAME}/skywalking-ui/.gitignore/ \
- --exclude ${PRODUCT_NAME}/skywalking-ui/.travis.yml/ \
- --exclude ${PRODUCT_NAME}/apm-protocol/apm-network/src/main/proto/.git/ \
+ --exclude .git \
+ --exclude .DS_Store \
+ --exclude .github \
+ --exclude .gitignore \
+ --exclude .gitmodules \
${PRODUCT_NAME}
gpg --armor --detach-sig ${PRODUCT_NAME}-src.tgz