Only check for -branch for Sourcegraph >= 3.13, dev or custom build
Created by: mrnugget
This changes the behavior of campaign create
to only check for the
-branch
flag if the Sourcegraph instance's version is either
-
= 3.13
- dev
- a custom build date
I'm aware that the "custom build date" check is flaky, but what we want
at the moment is simply to say: only check for this flag if your
Sourcegraph version is newer than 3.12.x
.