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 1
1
.PHONY : coverage testclean ChangeLog RELEASE package.xml
2
2
3
3
DATE =` 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;' `
4
6
5
7
mv-coverage :
6
8
@if test -e $(top_srcdir ) /coverage; then \
@@ -50,10 +52,10 @@ patch:
50
52
fi
51
53
52
54
package.xml :
53
- php bin/prep-release.php 0.1.0-devel
55
+ php bin/prep-release.php $( PHONGO_VERSION ) - $( PHONGO_STABILITY )
54
56
55
57
RELEASE :
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 )
57
59
58
60
ChangeLog :
59
61
@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() {
60
60
"config.m4 " ,
61
61
"Makefile.frag " ,
62
62
"README* " ,
63
+ "RELEASE* " ,
63
64
"ChangeLog* " ,
64
65
"src/*.{c,h} " ,
65
66
"src/MongoDB/*.{c,h} " ,
@@ -170,7 +171,7 @@ function usage() {
170
171
171
172
verify_stability ($ STABILITY );
172
173
verify_version ($ VERSION , $ STABILITY );
173
- $ changelog = __DIR__ . "/../ChangeLog- " . $ VERSION ;
174
+ $ changelog = __DIR__ . "/../ChangeLog " ;
174
175
verify_changelog ($ changelog );
175
176
176
177
You can’t perform that action at this time.
0 commit comments