This document guides every committer to release SkyWalking in Apache Way, and also help committers to check the release for vote.
Use the following block as a template and place it in ~/.m2/settings.xml
<settings> ... <servers> <!-- To publish a snapshot of some part of Maven --> <server> <id>apache.snapshots.https</id> <username> <!-- YOUR APACHE LDAP USERNAME --> </username> <password> <!-- YOUR APACHE LDAP PASSWORD (encrypted) --> </password> </server> <!-- To stage a release of some part of Maven --> <server> <id>apache.releases.https</id> <username> <!-- YOUR APACHE LDAP USERNAME --> </username> <password> <!-- YOUR APACHE LDAP PASSWORD (encrypted) --> </password> </server> ... </servers> </settings>
mvn clean install -Papache-release (this will build artifacts, sources and sign)
mvn release:clean mvn release:prepare -DautoVersionSubmodules=true
mvn release:perform -DskipTests -Ptravis-ci-submodule
The release will automatically be inserted into a temporary staging repository for you.
switch to release version tag export RELEASE_VERSION=x.y.z (example: RELEASE_VERSION=5.0.0-alpha) cd tools/releasing sh create_source_release.sh
The apache-skywalking-apm-incubating-x.y.z-src.tgz
should be found in tools/releasing
folder, with .asc, .sha512, .md5
https://repository.apache.org/
https://repository.apache.org/#stagingRepositories
skywalking
and find your staging repository{REPO_URL}/org/apache/skywalking/apache-skywalking-apm-incubating/x.y.z
.tar.gz
and .zip
with .asc and .sha1https://dist.apache.org/repos/dist/dev/incubator/skywalking/
shasum -a 512 file > file.sha512
Send an announcement mail in dev mail list.
Mail title: [ANNOUNCE] SkyWalking x.y.z test build available Mail content: The test build of x.y.z is available. This is our Apache Incubator release. We welcome any comments you may have, and will take all feedback into account if a quality vote is called for this build. Release notes: * https://github.com/apache/incubator-skywalking/blob/master/CHANGES.md Release Candidate: * https://dist.apache.org/repos/dist/dev/incubator/skywalking/xxxx Maven 2 staging repository: * https://repository.apache.org/content/repositories/xxxx/org/apache/skywalking/ Release Tag : * (Git Tag) Release CommitID : * (Git Commit ID) Keys to verify the Release Candidate : * http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x2EF5026E70A55777 corresponding to pengys@apache.org Guide to build the release from source : * https://github.com/apache/incubator-skywalking/blob/master/docs/en/How-to-build.md A vote regarding the quality of this test build will be initiated within the next couple of days.
Any PPMC, committer or contributor can test features for releasing, and feedback. Based on that, PPMC will decide whether start a vote.
Call a vote in dev@skywalking.apache.org
Mail title: [VOTE] Release Apache SkyWalking (incubating) version x.y.z Mail content: Hi All, This is a call for vote to release Apache SkyWalking (Incubating) version x.y.z. Release notes: * https://github.com/apache/incubator-skywalking/blob/x.y.z/CHANGES.md Release Candidate: * https://dist.apache.org/repos/dist/dev/incubator/skywalking/xxxx Maven 2 staging repository: * https://repository.apache.org/content/repositories/xxxx/org/apache/skywalking/ Release Tag : * (Git Tag) Release CommitID : * (Git Commit ID) Keys to verify the Release Candidate : * http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x2EF5026E70A55777 corresponding to pengys@apache.org Guide to build the release from source : * https://github.com/apache/incubator-skywalking/blob/master/docs/en/How-to-build.md Voting will start now (xxxx date) and will remain open for at least 72 hours, Request all PPMC members to give their vote. [ ] +1 Release this package. [ ] +0 No opinion. [ ] -1 Do not release this package because....
All PPMC members and committers should check these before vote +1.
https://dist.apache.org/repos/dist/dev/incubator/skywalking/x.y.z
with .asc, .sha512LICENSE
and NOTICE
are in Source code and distribution package.shasum -c apache-skywalking-apm-incubating-x.y.z-src.tgz.sha512
mvn apache-rat:check
. (No binary in source codes)Call a vote in general@incubator.apache.org
Mail title: [VOTE] Release Apache SkyWalking (incubating) version x.y.z Mail content: Hi All, This is a call for vote to release Apache SkyWalking (Incubating) version x.y.z. The Apache SkyWalking community has tested, voted and approved the proposed release of Apache SkyWalking (Incubating) x.y.z We now kindly request the Incubator PMC members review and vote on this incubator release. SkyWalking: APM (application performance monitor) tool for distributed systems, especially designed for microservices, cloud native and container-based (Docker, Kubernetes, Mesos) architectures. Underlying technology is a distributed tracing system. Vote Thread: * From `list.apache.org` Result Thread: * From the vote thread. Release notes: * https://github.com/apache/incubator-skywalking/blob/x.y.z/CHANGES.md Release Candidate: * https://dist.apache.org/repos/dist/dev/incubator/skywalking/xxxx Maven 2 staging repository: * https://repository.apache.org/content/repositories/xxxx/org/apache/skywalking/ Release Tag : * (Git Tag) Release CommitID : * (Git Commit ID) Keys to verify the Release Candidate : * http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x2EF5026E70A55777 corresponding to pengys@apache.org Guide to build the release from source : * https://github.com/apache/incubator-skywalking/blob/master/docs/en/How-to-build.md Voting will start now (xxxx date) and will remain open for at least 72 hours, Request IPMC to give their vote. [ ] +1 Release this package. [ ] +0 No opinion. [ ] -1 Do not release this package because....
Close the vote, if
Send a mail to general@incubator.apache.org
about vote result and status.
Mail title: [Result][VOTE] Release Apache SkyWalking (incubating) version x.y.z Mail content: Hi all, The vote for releasing Apache SkyWalking x.y.z (incubating) is closed, now. Vote result: x (+1 binding) (Names of voters) y -1. Thank you everyone for taking the time to review the release and help us. I will procedd to publish the release and send ANNOUNCE.
https://dist.apache.org/repos/dist/release/incubator/skywalking/
.> export SVN_EDITOR=vim > svn mv https://dist.apache.org/repos/dist/dev/incubator/skywalking/5.0.0-alpha https://dist.apache.org/repos/dist/release/incubator/skywalking .... enter your apache password ....
http://www.apache.org/dyn/closer.cgi/incubator/skywalking/x.y.z
.https://www.apache.org/dist/incubator/skywalking/xxxx
announce@incubator.apache.org
.Mail title: [ANNOUNCE] Release Apache SkyWalking (incubating) version x.y.z Mail content: Hi all, Apache SkyWalking (incubating) Team is glad to announce the first release of Apache SkyWalking Incubating x.y.z. SkyWalking: APM (application performance monitor) tool for distributed systems, especially designed for microservices, cloud native and container-based (Docker, Kubernetes, Mesos) architectures. Underlying technology is a distributed tracing system. Download Links : http://skywalking.apache.org/downloads/ Release Notes : https://github.com/apache/incubator-skywalking/blob/x.y.z/CHANGES.md Website: http://skywalking.apache.org/ SkyWalking Resources: - Issue: https://github.com/apache/incubator-skywalking/issues - Mailing list: dev@skywalkiing.incubator.apache.org - Documents: https://github.com/apache/incubator-skywalking/blob/x.y.z/docs/README.md - Apache SkyWalking (incubating) Team ===== *Disclaimer* Apache SkyWalking (incubating) is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the name of Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.