(REF, dev/release#17) Move list of core-exts to separate file
authorTim Otten <totten@civicrm.org>
Fri, 14 May 2021 02:53:45 +0000 (19:53 -0700)
committerTim Otten <totten@civicrm.org>
Fri, 14 May 2021 05:22:02 +0000 (22:22 -0700)
distmaker/core-ext.txt [new file with mode: 0644]
distmaker/dists/common.sh

diff --git a/distmaker/core-ext.txt b/distmaker/core-ext.txt
new file mode 100644 (file)
index 0000000..618b48a
--- /dev/null
@@ -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
index 2c204433e110d37c46f8ddad78a6bea752dbbb1d..5422a38d32a169cc3b64f04826325d048db3ddf3 100644 (file)
@@ -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