Updated FlatBuffers release process (markdown)

Wouter van Oortmerssen 2019-11-04 15:09:59 -08:00
parent 305467169b
commit 9ca5ee9cfd
1 changed files with 11 additions and 11 deletions

@ -3,17 +3,17 @@ Steps to release a new version of FlatBuffers to github:
* runs generate_code.sh to ensure there's no missing files. * runs generate_code.sh to ensure there's no missing files.
* And also because the version number is in some generated files. * And also because the version number is in some generated files.
* Update the documentation remote branch `gh-pages` that hosts what is shown at http://google.github.io/flatbuffers/ using something like (warning, this will go live instantly): * Update the documentation remote branch `gh-pages` that hosts what is shown at http://google.github.io/flatbuffers/ using something like (warning, this will go live instantly):
* `cd docs/source` * `cd docs/source`
* `doxygen` * `doxygen`
* `cd ../../.. (one up from flatbuffers root)` * `cd ../../.. (one up from flatbuffers root)`
* `git clone -b gh-pages --single-branch https://github.com/google/flatbuffers.git gh-pages` * `git clone -b gh-pages --single-branch https://github.com/google/flatbuffers.git gh-pages`
* `cd gh-pages` * `cd gh-pages`
* `cp -r ../flatbuffers/docs/html/* .` * `cp -r ../flatbuffers/docs/html/* .`
* `git add *` * `git add *`
* `git commit` * `git commit`
* `git push` * `git push`
* `cd ..` * `cd ..`
* `rm -rf gh-pages flatbuffers/docs/html` * `rm -rf gh-pages flatbuffers/docs/html`
* Tag this release by version number, e.g.: * Tag this release by version number, e.g.:
* `git tag -a -m "FlatBuffers release 1.0.0" v1.0.0` * `git tag -a -m "FlatBuffers release 1.0.0" v1.0.0`
* git push yourgithubremotename v1.0.0 * git push yourgithubremotename v1.0.0