about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2020-06-04 12:16:30 -0700
committerJosh Stone <jistone@redhat.com>2020-06-04 12:24:43 -0700
commit37a24b34c74790ee593aaead775ad5f4d96dacd1 (patch)
treebdb6288290c5537b05225aceb95492696ec16625 /src/rustllvm/RustWrapper.cpp
parent3d5d0f898c2f3998e50c2180c6202f193c3acdbc (diff)
downloadrust-37a24b34c74790ee593aaead775ad5f4d96dacd1.tar.gz
rust-37a24b34c74790ee593aaead775ad5f4d96dacd1.zip
Count the beta prerelease number just from master
We were computing a merge-base between the remote beta and master
branches, but this was giving incorrect answers for the first beta if
the remote hadn't been pushed yet. For instance, `1.45.0-beta.3359`
corresponds to the number of merges since the 1.44 beta, but we really
want just `.1` for the sole 1.45 beta promotion merge.

We don't really need to query the remote beta at all -- `master..HEAD`
suffices if we assume that we're on the intended beta branch already.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions