Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A child feature branch merging into its parent feature branch breaks plugin version checkout #10

Open
samjf opened this issue Aug 13, 2023 · 0 comments

Comments

@samjf
Copy link

samjf commented Aug 13, 2023

I'll leave this one here so we have it documented as a possible problem.

When a child feature branch is merging into its parent feature branch will cause the dependent plugin to checkout the latest version. In my case it causes 5.x to be checked out when its parent is based off 4.x. This causes some troubles with testing of course.

Recreation

  • Create a feature branch feature-a based off a 4.x-dev plugin branch.
  • Create another feature branch feature-b based off feature-a
  • Run the tests for feature-b

Actual: 5.x is checked out for the dependent plugins
Expected: 4.x version of the dependent plugin should be checked out.

Perhaps we can allow the base version to be defined so that this line will honor the intended Matomo version.

TARGET_BRANCH: ${{ github.base_ref || github.ref_name }}

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

No branches or pull requests

1 participant