Skip to content

Commit

Permalink
πŸ› FIX: Add dir.exports definition for CI builds
Browse files Browse the repository at this point in the history
The CI builds require `dir.exports` to be defined for the zip builds. Since [this commit to the unified workbench](Ortus-Solutions/unified-workbench@f95e51d) removed the dir.exports from `build.properties`, we need to defined this in our custom `build.xml` in the cbElasticsearch repo.
  • Loading branch information
michaelborn committed Oct 11, 2021
1 parent ef6ee05 commit 3c33e9b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

<!-- Validation of required variables -->
<fail unless="project.name">A project name was not specified. Build could not continue</fail>
<fail unless="project.version">A project version was not specified. Build could not coutinue</fail>
<fail unless="project.version">A project version was not specified. Build could not continue</fail>
<fail unless="module.name">A module name was not specified. Build could not continue</fail>

<!-- Property defaults -->
Expand Down Expand Up @@ -82,6 +82,8 @@

<!-- Build Label -->
<property name="build.label" value="${project.name}-${project.version}+${build.number}-${start.DSTAMP}${start.TSTAMP}"/>
<property name="dir.exports" value="${dir.artifacts}/${project.name}/${project.version}" />

<!-- Cleanup + Init -->
<delete dir="${dir.build}" />
<mkdir dir="${dir.build}"/>
Expand Down

0 comments on commit 3c33e9b

Please sign in to comment.