2017 © Pedro Peláez
 

library bitbucket-wp-updater

Update your own Wordpress plugin from a private BitBucket repository.

image

maneuver/bitbucket-wp-updater

Update your own Wordpress plugin from a private BitBucket repository.

  • Tuesday, June 19, 2018
  • by maneuver
  • Repository
  • 2 Watchers
  • 0 Stars
  • 42 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 68 % Grown

The README.md

Host your plugin in a private repository on BitBucket and have Wordpress pick up every new release and update like normal., (*1)

Installing

Inside your plugin folder:, (*2)

composer require maneuver/bitbucket-wp-updater

Usage

In your main plugin file:, (*3)

require('vendor/autoload.php');

$repo = '';                 // name of your repository. This is either "<user>/<repo>" or "<team>/<repo>".
$bitbucket_username = '';   // your personal BitBucket username
$bitbucket_app_pass = '';   // the generated app password with read access

new \Maneuver\BitbucketWpUpdater\PluginUpdater(__FILE__, $repo, $bitbucket_username, $bitbucket_app_pass);

NOTE: Read more about BitBucket app passwords, (*4)

Update the version number inside your main plugin file:, (*5)

/*
Plugin Name: Awesome Plugin
Description: This is what your awesome plugin does.
Version: 1.0.0
Author: Your name
*/

And tag the commit:, (*6)

git tag v1.0.0

NOTE: Use basic SemVer notation (a leading 'v' is allowed)., (*7)

Caveats

Only works on activated plugins. For now., (*8)

The Versions

19/06 2018

dev-master

9999999-dev

Update your own Wordpress plugin from a private BitBucket repository.

  Sources   Download

MIT

The Requires

 

by David De Coninck

19/06 2018

v0.0.3

0.0.3.0

Update your own Wordpress plugin from a private BitBucket repository.

  Sources   Download

MIT

The Requires

 

by David De Coninck

27/02 2018

v0.0.2

0.0.2.0

Update your own Wordpress plugin from a private BitBucket repository.

  Sources   Download

MIT

by David De Coninck

27/02 2018

v0.0.1

0.0.1.0

Update your own Wordpress plugin from a private BitBucket repository.

  Sources   Download

MIT

by David De Coninck