From 3052a116ef56ee3aee954beeefaeb6361d2d8147 Mon Sep 17 00:00:00 2001 From: dkoo Date: Thu, 1 Feb 2024 11:20:39 -0700 Subject: [PATCH 1/2] feat(ci): add epic/* release workflow and rename `master` to `trunk` --- .circleci/config.yml | 1 + blocks/scaip-sidebar/block.js | 18 +- docs/installation-and-setup.md | 2 +- inc/scaip-settings.php | 2 +- package-lock.json | 1326 +---------------------------- package.json | 4 +- readme.txt | 10 +- super-cool-ad-inserter-plugin.php | 2 +- 8 files changed, 53 insertions(+), 1312 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 11d7f75..9aff8a5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -86,6 +86,7 @@ workflows: - release - alpha - /^hotfix\/.*/ + - /^epic\/.*/ - post_release: requires: - release_github diff --git a/blocks/scaip-sidebar/block.js b/blocks/scaip-sidebar/block.js index c2ce48e..0003606 100644 --- a/blocks/scaip-sidebar/block.js +++ b/blocks/scaip-sidebar/block.js @@ -1,42 +1,42 @@ ( function( wp ) { /** * Registers a new block provided a unique name and an object defining its behavior. - * @see https://github.com/WordPress/gutenberg/tree/master/blocks#api + * @see https://github.com/WordPress/gutenberg/tree/trunk/blocks#api */ var registerBlockType = wp.blocks.registerBlockType; /** * Returns a new element of given type. Element is an abstraction layer atop React. - * @see https://github.com/WordPress/gutenberg/tree/master/element#element + * @see https://github.com/WordPress/gutenberg/tree/trunk/element#element */ var el = wp.element.createElement; /** * Retrieves the translation of text. - * @see https://github.com/WordPress/gutenberg/tree/master/i18n#api + * @see https://github.com/WordPress/gutenberg/tree/trunk/i18n#api */ var __ = wp.i18n.__; /** * Placeholder element - * @link https://github.com/WordPress/gutenberg/tree/master/packages/components/src/placeholder + * @link https://github.com/WordPress/gutenberg/tree/trunk/packages/components/src/placeholder */ var Placeholder = wp.components.Placeholder; /** * Dropdown