Enhance release script to support non-MacOS system (#5926)
This commit is contained in:
parent
821322447d
commit
8e2e9dfdaf
|
|
@ -5,7 +5,7 @@ Release Notes.
|
|||
8.4.0
|
||||
------------------
|
||||
#### Project
|
||||
|
||||
* Chore: adapt `create_source_release.sh` to make it runnable on Linux.
|
||||
|
||||
#### Java Agent
|
||||
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue