Updated FlatBuffers release process (markdown)

Wouter van Oortmerssen 2019-04-24 12:07:12 -07:00
parent 144e923b05
commit e54f930000
1 changed files with 3 additions and 2 deletions

@ -26,16 +26,17 @@ Steps to release a new version of FlatBuffers to github:
* Check changes are on: https://www.npmjs.com/package/flatbuffers * Check changes are on: https://www.npmjs.com/package/flatbuffers
* For Java: * For Java:
* (version already changed in pom.xml) * (version already changed in pom.xml)
* `mvn clean deploy` (or directly: `mvn clean deploy -P release`) * `mvn clean deploy -P release`
* `mvn release:clean release:prepare` * `mvn release:clean release:prepare`
* `mvn release:perform` * `mvn release:perform`
* (see http://central.sonatype.org/pages/apache-maven.html for details). * (see http://central.sonatype.org/pages/apache-maven.html for details).
* This requires an account with oss.sonatype.org, a gpg key registered with a keyserver, and your user/pass in .m2/settings.xml (Maven) to work, among other mysterious things. * This requires an account with oss.sonatype.org, a gpg key registered with a keyserver, and your user/pass in .m2/settings.xml (Maven) to work, among other mysterious things.
* Note: some of the above commands tend to error out, since it is all some crazy async complex system.. but it will then succeed later anyway (shows up the new version on maven central). * Note: some of the above commands tend to error out, since it is all some crazy async complex system.. but it will then succeed later anyway (shows up the new version on maven central).
* For gRPC: * For gRPC:
* NOTE: since this depends on the main flatbuffers package, typically needs to wait until that is done uploading!
* in dir grpc, `mvn deploy` * in dir grpc, `mvn deploy`
* For Dart: * For Dart:
* Run `dart/publish.sh` * Run `cd dart && sh publish.sh`
* For Python: * For Python:
* `export VERSION="1.9"` * `export VERSION="1.9"`
* `python setup.py sdist` * `python setup.py sdist`