Skip to content

Commit 100b7d1

Browse files
committed
Build: Fix version check and composer version
1 parent 3bceb2f commit 100b7d1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,6 @@
189189
</target>
190190

191191
<target name="-phar-determine-version">
192-
<exec command="php ${project.basedir}/phpdraft --version | grep -ohE '([0-9]{1,}\.)+[0-9]{1,}'" outputproperty="version"/>
192+
<exec command="php ${project.basedir}/phpdraft --version | grep -ohE '([0-9]{1,}\.)+[0-9]{1,}-?(rc|beta)?[0-9]?'" outputproperty="version"/>
193193
</target>
194194
</project>

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
}
1919
],
2020
"require": {
21-
"php": "^7.3",
21+
"php": "^7.3||^8.0",
2222
"ql/uri-template": "~1.0",
2323
"vanilla/garden-cli": "~3.0",
2424
"michelf/php-markdown": "~1.9",

0 commit comments

Comments
 (0)