diff --git a/composer.json b/composer.json index 0479467..cf2c430 100644 --- a/composer.json +++ b/composer.json @@ -69,6 +69,7 @@ "yoast/phpunit-polyfills": "^1.0" }, "scripts": { + "build": "vendor/bin/pronamic wp-build", "ci": [ "@phplint", "@phpcs", @@ -85,6 +86,10 @@ "phpunit": "vendor/bin/phpunit", "post-install-cmd": "echo 'Optionally run: composer bin all install'", "post-update-cmd": "echo 'Optionally run: composer bin all update'", - "psalm": "vendor/bin/psalm" + "psalm": "vendor/bin/psalm", + "release": [ + "@build", + "vendor/bin/pronamic release-to-github" + ] } }