fix(ci): use sed instead of grep -P for version extraction
Some checks failed
Build MapleDeploy Coolify Image / build (push) Failing after 12s

BusyBox grep (on Alpine) doesn't support -P (Perl regex).
This commit is contained in:
rosslh 2026-02-11 21:31:05 -05:00
parent 11f3ba7932
commit 70554cd58a

View file

@ -20,7 +20,7 @@ jobs:
- name: Get version
id: version
run: |
VERSION=$(grep -oP "'version' => '\K[^']+" config/constants.php)
VERSION=$(sed -n "s/.*'version' => '\([^']*\)'.*/\1/p" config/constants.php)
echo "VERSION=${VERSION}" >> "$GITHUB_OUTPUT"
echo "Building version: ${VERSION}"