Skip to content

Only check for -branch for Sourcegraph >= 3.13, dev or custom build

Warren Gifford requested to merge conditional-branch-check into master

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.

Merge request reports

Loading