lazy-blocks custom control to offer a dynamic select containing wordpress posts, pages or categories
- Install PHP
brew install [email protected]
, see https://stackoverflow.com/a/64724216 - Install Composer
brew install composer
- Run
npm install
in the command line - Make sure, you use the correct node version according to the
.node-version
file
- adjust plugin version in the
package.json
to the new desired version depending on your changes npm run build
to run buildnpm run dev
to run build and start files watchernpm run production
to run build and prepare zip files for production
- Make sure you have increased the version number
- Run Production Task
- Create zip file from Folder within
dist
- Install new version via Plugin Upload on your WP Test instance
git tag v1.0.0
to create a tag for the version to releasegit push origin v1.0.0
to push the tag to trigger the git action- create the release on the github repo
- attach the dist of the plugin as zip file to the release