diff options
author | Feng Xiao <xfxyjwf@gmail.com> | 2016-07-25 14:55:36 -0700 |
---|---|---|
committer | Feng Xiao <xfxyjwf@gmail.com> | 2016-07-25 15:01:38 -0700 |
commit | b553b87b26a213c410c82c50d3117854f7a46044 (patch) | |
tree | 44c710060f0133249e28a0ef9dde4151aa9dffd2 /protoc-artifacts/README.md | |
parent | 868ea59256b999175ba04c1b9cfe74ff1fbae13d (diff) | |
download | protobuf-b553b87b26a213c410c82c50d3117854f7a46044.tar.gz protobuf-b553b87b26a213c410c82c50d3117854f7a46044.tar.bz2 protobuf-b553b87b26a213c410c82c50d3117854f7a46044.zip |
Add a script to build protoc zip packages.
[ci skip]
Change-Id: Ia0e0bf3bb6bd24633dc8f294318bb20ac837f8b9
Diffstat (limited to 'protoc-artifacts/README.md')
-rw-r--r-- | protoc-artifacts/README.md | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/protoc-artifacts/README.md b/protoc-artifacts/README.md index a910fe0d..50629209 100644 --- a/protoc-artifacts/README.md +++ b/protoc-artifacts/README.md @@ -102,6 +102,25 @@ When you have done deployment for all platforms, go to https://oss.sonatype.org/#stagingRepositories, verify that the staging repository has all the binaries, close and release this repository. +## Upload zip packages to github release page. +After uploading protoc artifacts to Maven Central repository, run the +build-zip.sh script to bulid zip packages for these protoc binaries +and upload these zip packages to the download section of the github +release. For example: +``` +$ ./build-zip.sh 3.0.0-beta-4 +``` +The above command will create 5 zip files: +``` +dist/protoc-3.0.0-beta-4-win32.zip +dist/protoc-3.0.0-beta-4-osx-x86_32.zip +dist/protoc-3.0.0-beta-4-osx-x86_64.zip +dist/protoc-3.0.0-beta-4-linux-x86_32.zip +dist/protoc-3.0.0-beta-4-linux-x86_64.zip +``` +Before running the script, make sure the artifacts are accessible from: +http://repo1.maven.org/maven2/com/google/protobuf/protoc/ + ### Tips for deploying on Linux We build on Centos 6.6 to provide a good compatibility for not very new systems. We have provided a ``Dockerfile`` under this directory to build the |