Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
outlinetrue

1. Create a gpg KEY

For those who are RM for the first time, this step needs to be carried out.

...

If you find that after the key is added "unverified" , remember to bind the email used in the GPG key to your github account (https://github.com/settings/emails )。

2. Ready to release version

(Note: Different projects may adopt different branch management methods, which are for reference only)

...

Then start the official release.

3.release version

3.1 Automatically tag on github and generate various signature files

...

$ git show release/0.8.1 --name-only

4 What if the vote fails

When the vote fails, the battlefield needs to be cleared first, and then reposted.

...

https://lists.apache.org/thread.html/89b0af63c0af7455641f738e2500a8a92a2cb4f9efca5456371bf06f%40%3Cdev.iotdb.apache.org%3E

5. What to do after the vote is passed


After 72 hours of voting, a summary email should be made:

...

Panel

Theme:[VOTE] Release Apache IoTDB 0.9.0


Hello all,

This is a call for vote to release Apache IoTDB (Incubating) version 0.8.0, which is the first Apache Release for the IoTDB Project.

The Apache IoTDB community has voted on and approved a proposal to release
Apache IoTDB (Incubating) version 0.8.0.

We now kindly request the Incubator PMC members review and vote on this
incubator release.

Apache IoTDB (incubating) (Database for Internet of Things) is an integrated data management engine designed for timeseries data. It provides users with services for data collection, storage and analysis.

IoTDB community vote and result thread:
Result:https://lists.apache.org/thread.html/19c913987145a2dc0afced626131e084fc3b1ab7e1ca1dde07a5b977@%3Cdev.iotdb.apache.org%3E
Vote:https://lists.apache.org/thread.html/d1272646baf81a0d2d62308cfb7a6e4fc754e377a043068409b0b9ed@%3Cdev.iotdb.apache.org%3E

The release candidates (RC3):
https://dist.apache.org/repos/dist/dev/incubator/iotdb/0.8.0/rc3

Git tag for the release (RC3):
https://github.com/apache/incubator-iotdb/releases/tag/release%2F0.8.0

Hash for the release tag:
2f4da03b05d1c063eaaca622c68de86abe35de22

Release Notes:
https://github.com/apache/incubator-iotdb/blob/2f4da03b05d1c063eaaca622c68de86abe35de22/RELEASE_NOTES.md

The artifacts have been signed with Key : C336E0143A553B89, which can be
found in the keys file:
https://dist.apache.org/repos/dist/dev/incubator/iotdb/KEYS

Look at here for how to verify this release candidate:
https://cwiki.apache.org/confluence/display/IOTDB/Validating+a+staged+Release

The vote will be open for at least 72 hours.

From the PPMC Vote we carry over 3 binding IPMC Votes:

+1 from The name of the voter,
+1 from The name of the voter,
+1 from The name of the voter,

The vote will be passed if there is no -1 vote ( as there are 3 IPMC +1 votes already), but we still hope all other IPMCs vote for it.

Please vote accordingly:
[ ] +1 approve
[ ] +0 no opinion
[ ] -1 disapprove with the reason

Your name
Apache IoTDB


6. What to do after the general list vote

First send a summary email to the general mailing list

...

Note: All apache mirrors will start synchronizing these files, which will usually be synchronized within 24 hours. After that, you can send a statement email.


7. Delete the old version of the release file

Apache seems to require that when the new versions are synchronized, delete the files of the old version (for example, 0.8.0-incubating in this example), but I checked several projects, this is not absolutely required. . It is recommended to keep some versions.

...

svn commit -m "Write commit log"


8. Officially release Maven files


Go to https://repository.apache.org/#welcome, log in to your account, then go to Staging Repositories to select the version you closed before and select release. Finished.


9. github publish release

Go to https://github.com/apache/incubator-iotdb/releases and change the previous this is a pre-release & save draft to publish release.

10. Update the code of the release branch to the latest


In our project, the release branch always points to the latest release version.

...

git merge -X theirs release/0.8.1


11. Update JIRA

  1. Set the released version to "released" and set the "release-date"

  2. Add the next version to the versions.

I do n’t have permission so I have n’t tested it yet


12. Update the download link on the official website

Website Directory:

https://github.com/apache/incubator-iotdb-website

...

Change the above version to your final version.

13. Tell the world!

After you confirm that most of the mirrors are synchronized, you can tell the world to release a new version of the information:

...

More reference examples:https://lists.apache.org/list.html?dev@iotdb.apache.org:gte=1d:announce


Publish Python package to Pypi

First, you must have an account, register here:https://pypi.org/account/register/

...

https://packaging.python.org/tutorials/packaging-projects/


Publish Docker image package to DockerHub

First, you need to have a username under the dockerhub website.

...