Skip to content

Commit

Permalink
Hotfix: strip special characters from version strings. (acquia#770)
Browse files Browse the repository at this point in the history
  • Loading branch information
grasmash authored Dec 7, 2016
1 parent 26eb166 commit 8eb07ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion phing/tasks/blt.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
</target>

<target name="blt:update-delta" description="Performs scripted updates for a specific BLT version delta." hidden="true">
<echo level="verbose">Executing scripted updates for version delta ${blt.schema-version} -> ${blt.version}...</echo>
<echo>Executing scripted updates for version delta ${blt.schema-version} -> ${blt.version}...</echo>
<exec dir="${repo.root}" command="${repo.root}/vendor/bin/blt-console blt:update ${blt.schema-version} ${blt.version} ${repo.root} --yes" logoutput="true" checkreturn="true" level="${blt.exec_level}" passthru="true"/>

<exec dir="${repo.root}" command="echo ${blt.version} > ${blt.config-files.schema-version}" checkreturn="true" logoutput="true" passthru="false" level="${blt.exec_level}"/>
Expand Down
2 changes: 1 addition & 1 deletion phing/tasks/properties.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
</if>
<exec dir="${repo.root}" command="cat ${blt.config-files.schema-version}" outputProperty="blt.schema-version" checkreturn="true" logoutput="false" level="${blt.exec_level}"/>
<!-- Send errors to /dev/null, for environments like ACE without composer. -->
<exec dir="${repo.root}" command="composer info acquia/blt 2> /dev/null | grep versions | awk '{print $4}'" outputProperty="blt.version" logoutput="false" checkreturn="true" level="${blt.exec_level}" />
<exec dir="${repo.root}" command="composer info acquia/blt --no-ansi 2> /dev/null | grep versions | awk '{print $4}'" outputProperty="blt.version" logoutput="false" checkreturn="true" level="${blt.exec_level}" />

<!-- Set the ${verbosity} variable. -->
<verbosityTask returnProperty="verbosity"/>
Expand Down

0 comments on commit 8eb07ac

Please sign in to comment.