Skip to content

Commit c8b4dce

Browse files
committed
Merge pull request mongodb#303
2 parents 3345728 + e9b1c13 commit c8b4dce

File tree

5 files changed

+9
-1212
lines changed

5 files changed

+9
-1212
lines changed

CONTRIBUTING.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,16 +78,18 @@ HHVM.
7878

7979
### Transition JIRA issues and version
8080

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.
8388

8489
Update the version's release date and status from the
8590
[Manage Versions](https://jira.mongodb.org/plugins/servlet/project-config/PHPLIB/versions)
8691
page.
8792

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-
9193
### Update version info
9294

9395
The PHP library uses [semantic versioning](http://semver.org/). Do not break

Makefile

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
.PHONY: apigen composer test
1+
.PHONY: composer test
22

33
COMPOSER_ARGS=update --no-interaction --prefer-source
4-
PHPUNIT_ARGS=--process-isolation
54

65
composer:
76
@command -v composer >/dev/null 2>&1; \
@@ -15,23 +14,4 @@ composer:
1514
fi
1615

1716
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

RELEASE-0.1.0

Lines changed: 0 additions & 164 deletions
This file was deleted.

0 commit comments

Comments
 (0)