File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 11.PHONY : coverage testclean ChangeLog RELEASE package.xml
22
33DATE =` date +%Y-%m-%d--%H-%M-%S `
4+ PHONGO_VERSION =` php -n -dextension=modules/phongo.so -r ' echo PHONGO_VERSION;' `
5+ PHONGO_STABILITY =` php -n -dextension=modules/phongo.so -r ' echo PHONGO_STABILITY;' `
46
57mv-coverage :
68 @if test -e $(top_srcdir ) /coverage; then \
@@ -50,10 +52,10 @@ patch:
5052 fi
5153
5254package.xml :
53- php bin/prep-release.php 0.1.0-devel
55+ php bin/prep-release.php $( PHONGO_VERSION ) - $( PHONGO_STABILITY )
5456
5557RELEASE :
56- @git log --pretty=format:" %ad %an <%ae>%n%x09* %s%n" --date short > RELEASE-X.Y.Z
58+ @git log --pretty=format:" %ad %an <%ae>%n%x09* %s%n" --date short > RELEASE-$( PHONGO_VERSION )
5759
5860ChangeLog :
5961 @git log --pretty=format:" %ad %an <%ae>%n%x09* %s%n" --date short > ChangeLog
Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ function get_files() {
6060 "config.m4 " ,
6161 "Makefile.frag " ,
6262 "README* " ,
63+ "RELEASE* " ,
6364 "ChangeLog* " ,
6465 "src/*.{c,h} " ,
6566 "src/MongoDB/*.{c,h} " ,
@@ -170,7 +171,7 @@ function usage() {
170171
171172verify_stability ($ STABILITY );
172173verify_version ($ VERSION , $ STABILITY );
173- $ changelog = __DIR__ . "/../ChangeLog- " . $ VERSION ;
174+ $ changelog = __DIR__ . "/../ChangeLog " ;
174175verify_changelog ($ changelog );
175176
176177
You can’t perform that action at this time.
0 commit comments