script to publish github releases

Reviewed By: martinoluca

Differential Revision: D3218948

fb-gh-sync-id: e0efe4d
fbshipit-source-id: e0efe4d
master
Jules Villard 9 years ago committed by Facebook Github Bot 0
parent 808c78c5e7
commit 5e4e1b5482

@ -21,6 +21,10 @@ INFER_SOURCE="$ROOT_INFER_DIR"/infer-source
cd "$ROOT_INFER_DIR"
# This assumes the current commit is the one with the release bump
./build-infer.sh
# strip clang binaries -- on linux they get huge for some reason
strip facebook-clang-plugins/clang/bin/*
find facebook-clang-plugins/clang/lib -type f -name '*.so' -exec strip \{\} \+
find facebook-clang-plugins/clang/lib -type f -name '*.a' -exec strip \{\} \+
# Get a copy of the github repo
git clone https://github.com/facebook/infer.git "$INFER_SOURCE"

Loading…
Cancel
Save