This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

Webp
Webp

The docs state (https://octobercms.com/help/site/authors):

Plugins can be updated automatically by using a hook update URL. To find this navigate to the Manage Updates screen of the plugin, there will be an Update URL displayed. Keep this URL secret as once opened it will trigger a new build for the plugin. You can trigger this URL automatically every time you push changes.

Question

With a webhook in place on Github, on a push of commits to the repository: what exactly is used by the octobercms.com plugin update process to build a new Plugin version? Is it the last version of the Master branch or does it also build from other branches?

Webp
Webp

Answer from IRC:

Dras> Hi everyone.

Dras> On a plugin update build from Git, is the last version of the master branch used? Or last tag, or last commit?

spunky> You can specify the branch, but mostly the default branch (master) with the latest commit, yes

Dras> Tnx spunky!

Dras> I want to trigger the update on Github with a webhook. This is fired by default on a Git push.

Dras> In this scenario, if I push to a develop branch, is an update build also made of this develop branch..? Or still from the master branch?

spunky> It'll just grab another copy of master, which is fine

Dras> Yes indeed that is fine!

Dras> This helps me a lot, thank you!

Last updated

1-2 of 2

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.