Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
TypeScript aiai-agentsai-crawlerai-scrapingai-searchcrawlerdata-extractionhtml-to-markdownllmmarkdownscraperscrapingweb-crawlerweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
ci(php-sdk): extract SDK_VERSION with the same permissive pattern as the version gate
Kris Oei022a3554bc49
diff --git a/.github/workflows/publish-php-sdk.yml b/.github/workflows/publish-php-sdk.ymlindex f2113dad3..7d5b83a62 100644--- a/.github/workflows/publish-php-sdk.yml+++ b/.github/workflows/publish-php-sdk.yml@@ -66,7 +66,10 @@ jobs:- name: Tag release on firecrawl-phpif: ${{ env.VERSION_INCREMENTED == 'true' }}run: |- VERSION=$(sed -nE "s/.*SDK_VERSION[[:space:]]*=[[:space:]]*'([0-9]+\.[0-9]+\.[0-9]+)'.*/\1/p" apps/php-sdk/src/Version.php)+ # Same permissive extraction as check_version_has_incremented.py: the+ # gate already validates the version, so any format it approves+ # (including pre-releases) must reach the tag push.+ VERSION=$(sed -nE "s/.*SDK_VERSION[[:space:]]*=[[:space:]]*'([^']+)'.*/\1/p" apps/php-sdk/src/Version.php)if [ -z "$VERSION" ]; thenecho "Could not read SDK_VERSION from apps/php-sdk/src/Version.php" >&2exit 1