automattic/vip-build-tools

A collection of helpful build scripts for the WordPress VIP staff.

1.0.7 2021-11-26 14:04 UTC

README

A collection of helpful scripts to be used in CI jobs.

Prerequisites

Make sure you have composer installed.

Install

To get setup run the following command in the vip-build-scripts directory:

composer install

Script: Changelog

Extracts changelog information from the last closed Pull Request description and sends a request to a WordPress posts endpoint.

Options

Environment Variables

Most of these variables are already built-in by CircleCI.

Usage Example

An example CircleCI Workflow is available here.

The example does NOT have a valid WP TOKEN so no entry will be published.

To run the example you can use circleci-cli: circleci local execute --job create-changelog-draft --config examples/changelog-circleci-config.yml