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.

...

This <key id> is the file name of a .rev file under ~ / .gnupg / openpgp-revocs.d /

Image RemovedImage Added


Next, check the link below to check if the upload was successful. It takes about a minute to find

...

Check the show full-key hashes under advance when checking

Image RemovedImage Added


If the upload is not successful, you can manually submit the key on the web page

...

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)

...

This is the current branch graph. The last updated position after the creation of rel / 0.8 is shown in yellow, and the master is still moving forward.

Image RemovedImage Added

First of all, we need to determine what content needs to enter the new release, for example, we want to put 1, 2 into 0.8.1, then add the two PR submissions to the rel one by one by the method of `git cherry-pick` /0.8 branch (you may have to resolve a lot of conflicts ...).

...

Then start the official release.

3.release version

3.1 Automatically tag on github and generate various signature files

...

After the login is successful, Repositories in your left column will appear Staging Repositories, click on him, you can see the list below, find the line with the project name "orgapacheiotdb-number", select it and click the close button above

Image RemovedImage Added

Then start waiting to complete the close, during which you can click refresh to update the page. You can also select iotdb and click the activity below to view the specific close progress and problems.

...

Let's temporarily use iotdb-dist-dev as the root directory, you will see the current directory as shown below (there should be no 0.8.1 folder)

Image RemovedImage Added

Then create the 0.8.1 folder as shown in the figure above, and then create the 0.8.1 / rc1 folder.

...

$ 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:

...

Log in with an apache account, find the voting thread, and then the permalink on the right is a permanent link. Just click and copy the URL.


Image RemovedImage Added



Subscribe to the general mailing list

...

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.

...

Use docker images to confirm the container and the tag of the container again:

Image RemovedImage Added

Taking the above picture as an example, the reason why apache / iotdb 0.9.0 and 0.9.1 have the same Image ID is that when I built 0.9.1, I mistakenly specified the version number as 0.9.0.

...