Updated FlatBuffers release process (markdown)

Derek Bailey 2022-08-23 15:53:24 -07:00
parent c699dce7fd
commit 6a1fbdbbc0
1 changed files with 22 additions and 0 deletions

@ -23,6 +23,28 @@ Steps to release a new version of FlatBuffers to github:
1. The result should be a tagged commit at the following: https://github.com/google/flatbuffers/tags
## Python (PyPi)
1. `cd python`
1. Set `VERSION` environment to version.
bash: `export VERSION="X.X.X"`
fish: `set -g -x VERSION X.X.X`
1. `python setup.py sdist`
1. `python setup.py bdist_wheel`
1. Ensure twine in installed:
`python3 -m pip install --upgrade twine`
1. `twine upload dist/flatbuffers-X.X.X.tar.gz`
This will ask for your credentials for PyPi.
1. `twine upload dist/flatbuffers-X.X.X-py2.py3-none-any.whl`
1. Output should be on: https://pypi.org/project/flatbuffers/
## To Categorize / Old Notes
* Change the version number in base.h, package.json, pom.xml (and various such files in grpc/), CMakeLists.txt (FlatBuffers_Library_SONAME_FULL), CMake/Version.cmake, dart/pubspec.yaml, rust/cargo.toml (not same as FlatBuffers version), Constants.java, FlatBufferConstants.cs, idl_gen_java/csharp/kotlin/swift.cpp