Skip to content

Commit

Permalink
ci: On the prerelease branch, don't build/test plugins (#32899)
Browse files Browse the repository at this point in the history
When we're running CI builds and tests on pushes to the prerelease
branch, we're mainly doing that to build Composer packages for use in
an upcoming plugin release branch. There's no point in building the
plugins as they'll be released later when the release branch is created
instead. So let's only consider projects without a release-branch-prefix
set as being "changed".

There is a slight risk that something in the prerelease branch might
break a plugin build, which we'd now not discover until after the
package releases are pushed to packagist and the plugin release branch
is created. But that's probably ok, as the intent of the prerelease
branch is that the only difference between it and trunk (or an existing
release branch if we're doing a point release) are changelog file
updates and version bump, which should not cause that sort of problem.

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/6147608767
  • Loading branch information
zinigor authored and matticbot committed Sep 11, 2023
1 parent bba4ce1 commit 989cefe
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 989cefe

Please sign in to comment.