Skip to content

Conversation

@mrnugget
Copy link
Contributor

@mrnugget mrnugget commented Feb 1, 2021

This is a follow-up to #442 and ensures that changeset specs are not
getting silently lost by validating that multiple changeset specs in the
same repository have different branches.

I decided to make this a separate step after the execution of the
steps so that users can leverage the cache. That allows them to change
the campaign spec and then rerun the command after they get this error,
vs. the execution being aborted after running into this error (if we'd
do the check inside executor).

Screenshot:

image

This is a follow-up to #442 and ensures that changeset specs are not
getting silently lost by validating that multiple changeset specs in the
same repository have different branches.

I decided to make this a separate step _after_ the execution of the
steps so that users can leverage the cache. That allows them to change
the campaign spec and then rerun the command after they get this error,
vs. the execution being aborted after running into this error (if we'd
do the check inside executor).
@mrnugget mrnugget requested a review from a team February 1, 2021 12:54
@mrnugget mrnugget merged commit 2bd92df into main Feb 2, 2021
@mrnugget mrnugget deleted the mrn/validate-changeset-specs branch February 2, 2021 08:38
scjohns pushed a commit that referenced this pull request Apr 24, 2023
* Check for branch duplicates after creating changeset specs

This is a follow-up to #442 and ensures that changeset specs are not
getting silently lost by validating that multiple changeset specs in the
same repository have different branches.

I decided to make this a separate step _after_ the execution of the
steps so that users can leverage the cache. That allows them to change
the campaign spec and then rerun the command after they get this error,
vs. the execution being aborted after running into this error (if we'd
do the check inside executor).

* Fix naming in duplicateBranchesErr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants