New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PECL release follow up #90
Conversation
ext/crt.c
Outdated
@@ -263,6 +263,8 @@ static PHP_GINIT_FUNCTION(awscrt) { | |||
awscrt_globals->log_level = 0; | |||
} | |||
|
|||
#define CRT_VERSION "0.1.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is obviously not the proper version ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, it's not. I was hoping to automate the release process and update this to real version here
@@ -263,6 +263,8 @@ static PHP_GINIT_FUNCTION(awscrt) { | |||
awscrt_globals->log_level = 0; | |||
} | |||
|
|||
#define CRT_VERSION "1.0.4" | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I recommend you use the normalized PHP_AWSCRT_VERSION macro name, and define it in some header in package root directory, so this version will be checked by pecl during upload
See https://github.com/php/web-pecl/blob/master/public_html/release-upload.php#L140
PECL release issue again:
Published to PECL with the help from @sdavtaker and found out issues...
awscrt.stub.php
was ignored by PECLMy assumption, as I cannot find anything about how PECL really build your package:
awscrt.stub.php
assrc
instead ofscript
Checked the version we published before and found the Makefile we had changed a lot with the
srcdir
andbuilddir
from phpize and configure. So, adapt that change here.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.