Skip to content

Commit

Permalink
Build: Fix version check and composer version
Browse files Browse the repository at this point in the history
  • Loading branch information
SMillerDev committed Feb 11, 2021
1 parent 3bceb2f commit 100b7d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,6 @@
</target>

<target name="-phar-determine-version">
<exec command="php ${project.basedir}/phpdraft --version | grep -ohE '([0-9]{1,}\.)+[0-9]{1,}'" outputproperty="version"/>
<exec command="php ${project.basedir}/phpdraft --version | grep -ohE '([0-9]{1,}\.)+[0-9]{1,}-?(rc|beta)?[0-9]?'" outputproperty="version"/>
</target>
</project>
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}
],
"require": {
"php": "^7.3",
"php": "^7.3||^8.0",
"ql/uri-template": "~1.0",
"vanilla/garden-cli": "~3.0",
"michelf/php-markdown": "~1.9",
Expand Down

0 comments on commit 100b7d1

Please sign in to comment.