Skip to content

Commit

Permalink
Removes variable set when testing (oops).
Browse files Browse the repository at this point in the history
  • Loading branch information
theenoahmason committed Jun 5, 2024
1 parent fac0b80 commit cf755d7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
id: set_php_version
run: |
RAW_PHP_VERSION=$(jq -r '.require.php' package/composer.json)
RAW_PHP_VERSION="^1.2.3"
MAJOR_VERSION_PATTERN="^\^"
if [[ $RAW_PHP_VERSION =~ $MAJOR_VERSION_PATTERN ]]; then
PARSED_PHP_VERSION=$(echo $RAW_PHP_VERSION | grep -oE '[0-9]+' | head -n 1)
Expand Down
1 change: 0 additions & 1 deletion package/.github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:
id: set_php_version
run: |
RAW_PHP_VERSION=$(jq -r '.require.php' composer.json)
RAW_PHP_VERSION="^1.2.3"
MAJOR_VERSION_PATTERN="^\^"
if [[ $RAW_PHP_VERSION =~ $MAJOR_VERSION_PATTERN ]]; then
PARSED_PHP_VERSION=$(echo $RAW_PHP_VERSION | grep -oE '[0-9]+' | head -n 1)
Expand Down

0 comments on commit cf755d7

Please sign in to comment.