From cc058df68f6330b2e0b82037988795a8a7b7219b Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Thu, 13 May 2021 19:53:45 -0700 Subject: [PATCH] (REF, dev/release#17) Move list of core-exts to separate file --- distmaker/core-ext.txt | 19 +++++++++++++++++++ distmaker/dists/common.sh | 15 ++------------- 2 files changed, 21 insertions(+), 13 deletions(-) create mode 100644 distmaker/core-ext.txt diff --git a/distmaker/core-ext.txt b/distmaker/core-ext.txt new file mode 100644 index 0000000000..618b48a30b --- /dev/null +++ b/distmaker/core-ext.txt @@ -0,0 +1,19 @@ +## This is a list of core-extensions stored in the 'ext' folder. These should be included in release +## workflows, e.g. flagging new versions and building tarballs. + +## Note: This file should only be consumed internally (by release/distribution tools). +## Future versions may change or obsolete the file without notice. + +afform +authx +contributioncancelactions +eventcart +ewaysingle +financialacls +flexmailer +greenwich +oauth-client +payflowpro +recaptcha +search_kit +sequentialcreditnotes diff --git a/distmaker/dists/common.sh b/distmaker/dists/common.sh index 2c204433e1..5422a38d32 100644 --- a/distmaker/dists/common.sh +++ b/distmaker/dists/common.sh @@ -118,19 +118,8 @@ function dm_install_coreext() { ## Get a list of default/core extension directories (space-delimited) ## reldirs=$(dm_core_exts) function dm_core_exts() { - echo ext/search_kit - echo ext/sequentialcreditnotes - echo ext/flexmailer - echo ext/eventcart - echo ext/ewaysingle - echo ext/financialacls - echo ext/afform - echo ext/authx - echo ext/greenwich - echo ext/contributioncancelactions - echo ext/payflowpro - echo ext/oauth-client - echo ext/recaptcha + ## grep to exclude comments and blank lines + grep '^[a-zA-Z]' "$DM_SOURCEDIR"/distmaker/core-ext.txt } ## Copy all packages -- 2.25.1