File tree Expand file tree Collapse file tree 5 files changed +9
-1212
lines changed Expand file tree Collapse file tree 5 files changed +9
-1212
lines changed Original file line number Diff line number Diff line change @@ -78,16 +78,18 @@ HHVM.
78
78
79
79
### Transition JIRA issues and version
80
80
81
- Update the fix version field for all resolved issues with the corresponding ".x"
82
- fix version.
81
+ All issues associated with the release version should be in the "Closed" state
82
+ and have a resolution of "Fixed". Issues with other resolutions (e.g.
83
+ "Duplicate", "Works as Designed") should be removed from the release version so
84
+ that they do not appear in the release notes.
85
+
86
+ Check the corresponding ".x" fix version to see if it contains any issues that
87
+ are resolved as "Fixed" and should be included in this release version.
83
88
84
89
Update the version's release date and status from the
85
90
[ Manage Versions] ( https://jira.mongodb.org/plugins/servlet/project-config/PHPLIB/versions )
86
91
page.
87
92
88
- Transition all resolved issues for this version to the closed state. If changing
89
- the issues in bulk, be sure to allow email notifications.
90
-
91
93
### Update version info
92
94
93
95
The PHP library uses [ semantic versioning] ( http://semver.org/ ) . Do not break
Original file line number Diff line number Diff line change 1
- .PHONY : apigen composer test
1
+ .PHONY : composer test
2
2
3
3
COMPOSER_ARGS =update --no-interaction --prefer-source
4
- PHPUNIT_ARGS =--process-isolation
5
4
6
5
composer :
7
6
@command -v composer > /dev/null 2>&1 ; \
@@ -15,23 +14,4 @@ composer:
15
14
fi
16
15
17
16
test : composer
18
- @command -v phpunit > /dev/null 2>&1 ; \
19
- if test $$ ? -eq 0; then \
20
- phpunit $(PHPUNIT_ARGS ) ; \
21
- elif test -r phpunit.phar; then \
22
- php phpunit.phar $(PHPUNIT_ARGS ) ; \
23
- else \
24
- echo >&2 " Cannot find phpunit; aborting." ; \
25
- false ; \
26
- fi
27
-
28
- release/% : release-log/%
29
- @echo " Please run:"
30
- @echo " " git add RELEASE-$(* )
31
- @echo " " git commit -m \" Add $(* ) release notes\"
32
- @echo " " git tag -a -m \" Release MongoDB library $(* ) \" $(* )
33
- @echo " " git push REMOTE ` git rev-parse --abbrev-ref HEAD`
34
- @echo " " git push REMOTE --tags
35
-
36
- release-log/% :
37
- @git log --pretty=format:" %ad %an <%ae>%n%x09* %s%n" --date short --no-merges --since=" $$ (git show -s --format=%ad ` git rev-list --tags --max-count=1` )" > RELEASE-$(* )
17
+ vendor/bin/phpunit
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments