Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Updating schema version after updates. #686

Merged
merged 1 commit into from
Nov 17, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Updating schema version after updates.
  • Loading branch information
grasmash committed Nov 17, 2016
commit 9d5dae46d213454148a96d31ca3e165c52fbc553
2 changes: 2 additions & 0 deletions phing/tasks/blt.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@
<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>
<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}"/>
</target>

<target name="blt:update-composer" description="Updates project composer.json with a subset of new key value pairs from upstream. This WILL overwrite existing values." hidden="true">
Expand Down
2 changes: 1 addition & 1 deletion phing/tasks/properties.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<if>
<available file="${blt.config-files.local}" type="file" property="local.properties"/>
<then>
<property file="${blt.config-files.local}" override="true" logoutput="false"/>
<property file="${blt.config-files.local}" override="true" logoutput="${blt.verbose}"/>
</then>
</if>

Expand Down
2 changes: 1 addition & 1 deletion src/Console/Command/UpdateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
$updater->executeUpdates($updates);
}
else {
$output->writeln("<comment>There are no scripted updates avaiable between BLT versions $starting_version and $ending_version.</comment>");
$output->writeln("<comment>There are no scripted updates available between BLT versions $starting_version and $ending_version.</comment>");
}
}
}