Skip to content

Conversation

@henderkes
Copy link
Contributor

@henderkes henderkes force-pushed the fix-package-version branch from 1730e07 to d2dd016 Compare May 23, 2025 10:36
fi
fi
version_output="$(dist/"$bin" version)"
frankenphp_version=$(echo "$version_output" | grep -oP 'FrankenPHP\s+\K[^ ]+' || true)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

our scripts use capitalized variables. Any reason you are deviating here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

meant to signify a non-exported variable that also isn't read from the command line. I essentially wanted to avoid people thinking the FRANKENPHP_VERSION variable would influence it. Can give it a different all uppercase name!

Copy link
Contributor Author

@henderkes henderkes May 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(should probably change all the other variables in the script and all our other scripts then, too, because so far we seem to use lowercase names for all "private" variables)

@dunglas dunglas merged commit 52b6531 into php:main Jun 1, 2025
43 checks passed
@dunglas
Copy link
Member

dunglas commented Jun 1, 2025

Thanks

@dunglas
Copy link
Member

dunglas commented Jun 3, 2025

It looks like it still doesn't work: https://github.com/dunglas/frankenphp/releases/tag/v1.7.0

henderkes added a commit to mhpcc/frankenphp that referenced this pull request Jun 5, 2025
* get package tag version from binary instead

* capture output for better debugging instead
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants