提交 6d74e782 编写于 作者: wu-sheng's avatar wu-sheng

Fix CI and release guide.

上级 fff74012
...@@ -39,6 +39,14 @@ for different scenarios. For better understanding, read our documents. ...@@ -39,6 +39,14 @@ for different scenarios. For better understanding, read our documents.
# Document # Document
- [Documents in English](docs/README.md) - [Documents in English](docs/README.md)
```
5.x is still supported by SkyWalking community, and the agent-backend protocol is compatible with 6.x.
You can go to 5.x branch. At there, you have everything you need.
```
- Go to [5.x pages](https://github.com/apache/incubator-skywalking/tree/5.x)
# Downloads # Downloads
Please head to the [releases page](ttp://skywalking.apache.org/downloads/) to download a release of Apache SkyWalking. Please head to the [releases page](ttp://skywalking.apache.org/downloads/) to download a release of Apache SkyWalking.
......
...@@ -26,8 +26,3 @@ Or better yet, submit your own contributions through pull request to help make t ...@@ -26,8 +26,3 @@ Or better yet, submit your own contributions through pull request to help make t
### 5.x releases
5.x is still supported by SkyWalking community, and the agent-backend protocol is compatible with 6.x.
You can go to [5.x branch](https://github.com/apache/incubator-skywalking/tree/5.x).
At there, you have everything you need.
...@@ -43,7 +43,7 @@ Use the following block as a template and place it in ~/.m2/settings.xml ...@@ -43,7 +43,7 @@ Use the following block as a template and place it in ~/.m2/settings.xml
``` ```
./mvnw release:perform -DskipTests -Ptravis-ci-submodule ./mvnw release:perform -DskipTests -Ptravis-ci-submodule
``` ```
1. Set version number as x.y.z, and tag as x.y.z-RCx. `x` in `RCx` is based the number of attempts release, aka `RELEASE_ROUND` in this doc, and starts with 1. 1. Set version number as x.y.z, and tag as vx.y.z
1. The release will automatically be inserted into a temporary staging repository for you. 1. The release will automatically be inserted into a temporary staging repository for you.
## Build and sign the source code package ## Build and sign the source code package
...@@ -71,7 +71,7 @@ with .asc, .sha512, .md5 ...@@ -71,7 +71,7 @@ with .asc, .sha512, .md5
## Upload to Apache svn ## Upload to Apache svn
1. Use ApacheId to login `https://dist.apache.org/repos/dist/dev/incubator/skywalking/` 1. Use ApacheId to login `https://dist.apache.org/repos/dist/dev/incubator/skywalking/`
1. Create folder, named by release version and round, such as: x.y.z-RCx 1. Create folder, named by release version and round, such as: x.y.z
1. Upload Source code package to the folder with .asc, .sha512 1. Upload Source code package to the folder with .asc, .sha512
* Package name: apache-skywalking-incubating-x.y.z-src.tar.gz * Package name: apache-skywalking-incubating-x.y.z-src.tar.gz
* See Section "Build and sign the source code package" for more details * See Section "Build and sign the source code package" for more details
...@@ -112,7 +112,7 @@ Maven 2 staging repository: ...@@ -112,7 +112,7 @@ Maven 2 staging repository:
Release Tag : Release Tag :
* (Git Tag) x.y.z-RCx * (Git Tag) x.y.z
Release CommitID : Release CommitID :
...@@ -165,7 +165,7 @@ Maven 2 staging repository: ...@@ -165,7 +165,7 @@ Maven 2 staging repository:
Release Tag : Release Tag :
* (Git Tag) x.y.z-RCx * (Git Tag) x.y.z
Release CommitID : Release CommitID :
...@@ -247,7 +247,7 @@ Maven 2 staging repository: ...@@ -247,7 +247,7 @@ Maven 2 staging repository:
Release Tag : Release Tag :
* (Git Tag) x.y.z-RCx * (Git Tag) x.y.z
Release CommitID : Release CommitID :
...@@ -297,7 +297,7 @@ I will process to publish the release and send ANNOUNCE. ...@@ -297,7 +297,7 @@ I will process to publish the release and send ANNOUNCE.
1. Move source codes tar balls and distributions to `https://dist.apache.org/repos/dist/release/incubator/skywalking/`. 1. Move source codes tar balls and distributions to `https://dist.apache.org/repos/dist/release/incubator/skywalking/`.
``` ```
> export SVN_EDITOR=vim > export SVN_EDITOR=vim
> svn mv https://dist.apache.org/repos/dist/dev/incubator/skywalking/x.y.z-RCx https://dist.apache.org/repos/dist/release/incubator/skywalking > svn mv https://dist.apache.org/repos/dist/dev/incubator/skywalking/x.y.z https://dist.apache.org/repos/dist/release/incubator/skywalking
.... ....
enter your apache password enter your apache password
.... ....
...@@ -306,7 +306,6 @@ enter your apache password ...@@ -306,7 +306,6 @@ enter your apache password
2. Do release in nexus staging repo. 2. Do release in nexus staging repo.
3. Public download URLs under `http://www.apache.org/dyn/closer.cgi/incubator/skywalking/x.y.z`. 3. Public download URLs under `http://www.apache.org/dyn/closer.cgi/incubator/skywalking/x.y.z`.
4. Public KEYS, sigs and sha512 URLs under `https://www.apache.org/dist/incubator/skywalking/xxxx` 4. Public KEYS, sigs and sha512 URLs under `https://www.apache.org/dist/incubator/skywalking/xxxx`
5. Re-tag on GitHub, tag `x.y.z-RCx` as `x.y.z`, and publish a GitHub release based on this tag.
5. Send ANNOUNCE mail to `general@incubator.apache.org` and `dev@skywalking.apache.org`. 5. Send ANNOUNCE mail to `general@incubator.apache.org` and `dev@skywalking.apache.org`.
``` ```
Mail title: [ANNOUNCE] Release Apache SkyWalking (incubating) version x.y.z Mail title: [ANNOUNCE] Release Apache SkyWalking (incubating) version x.y.z
......
...@@ -81,7 +81,7 @@ public class AlarmCoreTest { ...@@ -81,7 +81,7 @@ public class AlarmCoreTest {
Assert.assertTrue(checkTimePoints(checkTime)); Assert.assertTrue(checkTimePoints(checkTime));
break; break;
} }
if(i == 9){ if (i == 9) {
Assert.assertTrue(false); Assert.assertTrue(false);
} }
} }
......
...@@ -20,13 +20,11 @@ ...@@ -20,13 +20,11 @@
# This script relies on few environment variables to determine source code package # This script relies on few environment variables to determine source code package
# behavior, those variables are: # behavior, those variables are:
# RELEASE_VERSION -- The version of this source package. # RELEASE_VERSION -- The version of this source package.
# RELEASE_ROUND -- The round of this version release.
# For example: RELEASE_VERSION=5.0.0-alpha # For example: RELEASE_VERSION=5.0.0-alpha
# RELEASE_ROUND=1
RELEASE_VERSION=${RELEASE_VERSION} RELEASE_VERSION=${RELEASE_VERSION}
TAG_NAME=v${RELEASE_VERSION}-RC${RELEASE_ROUND} TAG_NAME=v${RELEASE_VERSION}
PRODUCT_NAME="apache-skywalking-apm-incubating" PRODUCT_NAME="apache-skywalking-apm-incubating"
echo "Release version "${RELEASE_VERSION} echo "Release version "${RELEASE_VERSION}
...@@ -38,12 +36,6 @@ if [ "$RELEASE_VERSION" == "" ]; then ...@@ -38,12 +36,6 @@ if [ "$RELEASE_VERSION" == "" ]; then
exit 1 exit 1
fi fi
if [ "$RELEASE_ROUND" == "" ]; then
echo "RELEASE_ROUND environment variable not found, Please setting the RELEASE_ROUND."
echo "For example: export RELEASE_ROUND=1"
exit 1
fi
echo "Creating source package" echo "Creating source package"
PRODUCT_NAME=${PRODUCT_NAME}-${RELEASE_VERSION} PRODUCT_NAME=${PRODUCT_NAME}-${RELEASE_VERSION}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册