Add Bluesky to your WordPress website. Automatically share new posts to Bluesky and integrate Bluesky replies with the comments on your website.
- Clone the repository into the
wp-content/pluginsdirectory of your WordPress installation. - Run
npm installto install the dependencies. - Run
npm run buildto build the plugin. - Run
composer installto install the PHP dependencies. - Activate the plugin in the WordPress admin.
- Run
npm run startto start the development server.
composer install --no-devto install the PHP dependencies.npm run buildto build the plugin.
- Run
npm run plugin-zipto create a zip file of the plugin.
To create a new feature, make a fix, or change something else, create a new branch from main. Once the changes are ready, create a pull request to merge the changes back into main.
All pull requests should be properly reviewed and tested before merging. Any code merged into main can be included in the next release at any point.
If you are working on a new feature or a larger change, consider creating a feature branch from main. Once the feature is ready, create a pull request to merge the feature branch back into main.
Autoblue uses the 10up/action-wordpress-plugin-deploy GitHub Action to deploy the plugin to the WordPress.org plugin repository.
To release a new version, follow these steps:
- Switch to the
mainbranch and make sure all changes are merged into it. - Run
bin/release.sh <version>to create a new release. Replace<version>with the new version number. This creates a new branch and updates the changelog and version numbers. - Check the changelog in
readme.txtand make changes if required. - Commit the changes, create a PR to merge the release branch into
main, and merge the PR. - Create a new release on GitHub with the new version number, tag, and the changelog entry.
- The GitHub Action will automatically deploy the new version to the WordPress.org plugin repository.
- Add a new changelog entry on the Autoblue changelog page for the new version.
To update the assets (like screenshots) or readme without creating a new release (e.g. when updating the Tested up to line), follow these steps:
- Create a new branch from
main. - Update the assets in the
assetsdirectory (if required). - Update
readme.txtwith new information (if required). - Create a PR with the changes and merge it into
main.
The changes will be automatically deployed to the WordPress.org plugin repository by the 10up/action-wordpress-plugin-asset-update GitHub Action.