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/10/13 08:51:04 UTC
[skywalking-cli] branch master updated: Update release doc (#67)
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-cli.git
The following commit(s) were added to refs/heads/master by this push:
new 30de304 Update release doc (#67)
30de304 is described below
commit 30de3045f22524bac6c62081c1f6d95fba9494e0
Author: Hoshea Jiang <fg...@gmail.com>
AuthorDate: Tue Oct 13 16:48:12 2020 +0800
Update release doc (#67)
Co-authored-by: kezhenxu94 <ke...@163.com>
Co-authored-by: 吴晟 Wu Sheng <wu...@foxmail.com>
---
docs/How-to-release.md | 150 ++++++++++++++++++++++++++-----------------------
1 file changed, 79 insertions(+), 71 deletions(-)
diff --git a/docs/How-to-release.md b/docs/How-to-release.md
index c094fea..2d71d05 100644
--- a/docs/How-to-release.md
+++ b/docs/How-to-release.md
@@ -1,34 +1,45 @@
-# Apache SkyWalking release guide
+# Apache SkyWalking CLI release guide
-This documentation guides the release manager to release the SkyWalking CLI in the Apache Way, and also helps people to
-check the release for vote.
+This documentation guides the release manager to release the SkyWalking CLI in the Apache Way, and also helps people to check the release for vote.
-## Add your GPG public key
+## Prerequisites
-1. Add your GPG public key into [SkyWalking GPG KEYS](https://dist.apache.org/repos/dist/release/skywalking/KEYS) file,
-you can do this only if you are a committer, use your Apache id and password to log into the svn, and update the file.
-**DO NOT override the existed `KEYS` file.**
+1. Close(if finished, or move to next milestone otherwise) all issues in the current milestone from [skywalking-cli](https://github.com/apache/skywalking-cli/milestones) and [skywalking](https://github.com/apache/skywalking/milestones), create a new milestone if needed.
+2. Update [CHANGES.md](../CHANGES.md).
+
+
+## Add your GPG public key to Apache svn
+
+1. Upload your GPG public key to a public GPG site, such as [MIT's site](http://pgp.mit.edu:11371/).
+
+1. Log in [id.apache.org](https://id.apache.org/) and submit your key fingerprint.
+
+1. Add your GPG public key into [SkyWalking GPG KEYS](https://dist.apache.org/repos/dist/release/skywalking/KEYS) file, **you can do this only if you are a PMC member**. You can ask a PMC member for help. **DO NOT override the existed `KEYS` file content, only append your key at the end of the file.**
-1. Upload your GPG public key to public GPG site, such as [MIT's site](http://pgp.mit.edu:11371/). This site should be in
-Apache maven staging repository check list.
## Build and sign the source code package
```shell
export VERSION=<the version to release>
-git tag v${VERSION}
-make release
+git clone --recurse-submodules git@github.com:apache/skywalking-cli && cd skywalking-cli
+git tag -a "$VERSION" -m "Release Apache SkyWalking-CLI $VERSION"
+git push --tags
+make clean && make release
```
-The `skywalking-cli-${VERSION}-bin.tgz`, `skywalking-cli-${VERSION}-src.tgz`, and their corresponding `asc`, `sha512`
-should be generated in the directory automatically.
+The `skywalking-cli-${VERSION}-bin.tgz`, `skywalking-cli-${VERSION}-src.tgz`, and their corresponding `asc`, `sha512`. **In total, six files should be automatically generated in the directory.**
## Upload to Apache svn
-1. Check out the [dist dev repo](https://dist.apache.org/repos/dist/dev/skywalking), e.g. `svn checkout https://dist.apache.org/repos/dist/dev/skywalking`
-1. Create a folder named with the release version and round, prefixed by `cli/`, e.g. `cd skywalking && mkdir -p cli/$VERSION`
-1. Copy all the packages to the folder, as well as their `.asc` and `.sha512`
-1. Commit the changes to svn
+```bash
+svn co https://dist.apache.org/repos/dist/dev/skywalking/
+mkdir -p skywalking/cli/"$VERSION"
+cp skywalking-cli/skywalking*.tgz skywalking/cli/"$VERSION"
+cp skywalking-cli/skywalking*.tgz.asc skywalking/cli/"$VERSION"
+cp skywalking-cli/skywalking-cli*.tgz.sha512 skywalking/cli/"$VERSION"
+
+cd skywalking/cli && svn add "$VERSION" && svn commit -m "Draft Apache SkyWalking-CLI release $VERSION"
+```
## Make the internal announcement
@@ -89,7 +100,7 @@ Subject: [VOTE] Release Apache SkyWalking CLI version $VERSION
Content:
-Hi All,
+Hi the SkyWalking Community:
This is a call for vote to release Apache SkyWalking CLI version $VERSION.
Release notes:
@@ -119,99 +130,96 @@ Guide to build the release from source :
* https://github.com/apache/skywalking-cli/blob/v$VERSION/docs/How-to-release.md
-Voting will start now (xxxx date) and will remain open for at least 72 hours, all PMC members are required to give their votes.
+Voting will start now and will remain open for at least 72 hours, all PMC members are required to give their votes.
+
[ ] +1 Release this package.
[ ] +0 No opinion.
[ ] -1 Do not release this package because....
+
+Thanks.
+
+[1] https://github.com/apache/skywalking/blob/master/docs/en/guides/How-to-release.md#vote-check
```
## Vote Check
-All PMC members and committers should check these before voting +1.
+All PMC members and committers should check these before voting +1:
1. Features test.
-1. All artifacts in staging repository are published with `.asc`, `.md5`, and `sha` files
+1. All artifacts in staging repository are published with `.asc`, `.md5`, and `sha` files.
1. Source codes and distribution packages (`apache-skywalking-cli-{src,bin}-$VERSION.tgz`)
are in `https://dist.apache.org/repos/dist/dev/skywalking/cli/$VERSION` with `.asc`, `.sha512`.
1. `LICENSE` and `NOTICE` are in source codes and distribution package.
-1. Check `shasum -c apache-skywalking-cli-{src,bin}-$VERSION.tgz.sha512`
+1. Check `shasum -c apache-skywalking-cli-{src,bin}-$VERSION.tgz.sha512`.
1. Build distribution from source code package by following this [the build guide](#build-and-sign-the-source-code-package).
-1. Licenses check, `make license`;
+1. Licenses check, `make license.`
-Vote result should follow these.
+Vote result should follow these:
1. PMC vote is +1 binding, all others is +1 no binding.
-1. Within 72 hours, you get at least 3 (+1 binding), and have more +1 than -1. Vote pass.
-
-## Publish release
-
-1. Move source codes tar balls and distributions to `https://dist.apache.org/repos/dist/release/skywalking/`.
-
-```shell
-export SVN_EDITOR=vim
-svn mv https://dist.apache.org/repos/dist/dev/skywalking/cli/$VERSION https://dist.apache.org/repos/dist/release/skywalking/cli
-# ....
-# enter your apache password
-# ....
+1. Within 72 hours, you get at least 3 (+1 binding), and have more +1 than -1. Vote pass.
-```
+1. **Send the closing vote mail to announce the result**. When count the binding and no binding votes, please list the names of voters. An example like this:
-1. Public download links of source and distribution tar/zip locate in `http://www.apache.org/dyn/closer.cgi/skywalking/cli/$VERSION/`.
-We only publish Apache mirror path as release info.
+ ```
+ [RESULT][VOTE] Release Apache SkyWalking CLI version $VERSION
+
+ 3 days passed, we’ve got ($NUMBER) +1 bindings:
+ xxx
+ xxx
+ xxx
+ ...
+ (list names)
+
+ I’ll continue the release process.
+ ```
-1. Public asc and sha512 locate in `https://www.apache.org/dist/skywalking/cli/$VERSION/xxx`
-1. Public KEYS pointing to `https://www.apache.org/dist/skywalking/KEYS`
+## Publish release
-1. Send ANNOUNCEMENT email to `dev@skywalking.apache.org`.
+1. Move source codes tar balls and distributions to `https://dist.apache.org/repos/dist/release/skywalking/`, **you can do this only if you are a PMC member**.
-1. Update links on the website download page. http://skywalking.apache.org/downloads/ . Include the new source codes, distribution packages, corresponding sha512, asc and document
-links. Links could be found by following rules(3)-(6).
+ ```shell
+ export SVN_EDITOR=vim
+ svn mv https://dist.apache.org/repos/dist/dev/skywalking/cli/$VERSION https://dist.apache.org/repos/dist/release/skywalking/cli
+ # ....
+ # enter your apache password
+ # ....
+ ```
+```
+
+1. Refer to the previous [PR](https://github.com/apache/skywalking-website/pull/118), update news and links on the website. There are seven files need to modify.
-1. Add a release event on website homepage and event page. Announce the public release with changelog or key features.
+1. Update [Github release page](https://github.com/apache/skywalking-cli/releases), follow the previous convention.
-1. Send ANNOUNCE email to `dev@skywalking.apache.org` and `announce@apache.org`, the sender should use his/her Apache email account.
+1. Send ANNOUNCE email to `dev@skywalking.apache.org` and `announce@apache.org`, the sender should use his/her Apache email account. You can get the permlink of vote thread at [here](https://lists.apache.org/list.html?dev@skywalking.apache.org).
-```text
+```text
Subject: [ANNOUNCEMENT] Apache SkyWalking CLI $VERSION Released
Content:
-Hi all,
+Hi the SkyWalking Community
-The Apache SkyWalking Team is glad to announce the release of Apache SkyWalking CLI $VERSION.
+On behalf of the SkyWalking Team, I’m glad to announce that SkyWalking CLI $VERSION is now released.
SkyWalking CLI: A Command Line Interface for Apache SkyWalking https://skywalking.apache.org/
-SkyWalking: APM (application performance monitor) tool for distributed systems,
-especially designed for microservices, cloud native and container-based (Docker, Kubernetes, Mesos) architectures.
+SkyWalking: APM (application performance monitor) tool for distributed systems, especially designed for microservices, cloud native and container-based (Docker, Kubernetes, Mesos) architectures.
-This release contains a number of new features, bug fixes and improvements compared to
-version a.b.c(last release). The notable changes since x.y.z include:
+Vote Thread: $VOTE_THREAD_PERMALINK
-(Highlight key changes)
-1. ...
-2. ...
-3. ...
+Download Links: http://skywalking.apache.org/downloads/
-Please refer to the change log for the complete list of changes:
-https://github.com/apache/skywalking-cli/blob/$VERSION/CHANGES.md
+Release Notes : https://github.com/apache/skywalking-cli/blob/$VERSION/CHANGES.md
-Apache SkyWalking website:
-http://skywalking.apache.org/
+Website: http://skywalking.apache.org/
-Downloads:
-http://skywalking.apache.org/downloads/
-
-Twitter:
-https://twitter.com/ASFSkyWalking
-
-SkyWalking (CLI) Resources:
+SkyWalking CLI Resources:
- Issue: https://github.com/apache/skywalking/issues
- Mailing list: dev@skywalkiing.apache.org
-- Documents: https://github.com/apache/skywalking-cli/blob/$VERSION/docs/README.md
-
+- Documents: https://github.com/apache/skywalking-cli/blob/$VERSION/README.md
-- The Apache SkyWalking Team
+The Apache SkyWalking Team
```