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/plugins
directory of your WordPress installation. - Run
npm install
to install the dependencies. - Run
npm run build
to build the plugin. - Run
composer install
to install the PHP dependencies. - Activate the plugin in the WordPress admin.
- Run
npm run start
to start the development server.
composer install --no-dev
to install the PHP dependencies.npm run build
to build the plugin.
- Run
npm run plugin-zip
to 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
main
branch 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.txt
and 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
assets
directory (if required). - Update
readme.txt
with 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.