Commit 99082ae3 authored by Caleb Marchent's avatar Caleb Marchent Committed by Facebook Github Bot

Look for tags along the master branch checkout out Zstd

Summary:
There is no guarantee that the default branch in git is 'master'; so
    unless specified we checkout a tag along the 'dev' branch, which is not
    intended as it is the master branch that tracks releases for Zstd.

Reviewed By: jstrizich

Differential Revision: D8297843

fbshipit-source-id: 8497dc75c399ae7c86e27b28fdb73898ef4b1a4e
parent f2319a6c
......@@ -11,7 +11,7 @@ def fbcode_builder_spec(builder):
# This API should change rarely, so build the latest tag instead of master.
builder.add_option(
'facebook/zstd:git_hash',
ShellQuoted('$(git describe --abbrev=0 --tags)')
ShellQuoted('$(git describe --abbrev=0 --tags origin/master)')
)
return {
'steps': [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment