Skip to content

Commit 47866e1

Browse files
committed
Rename version variable in Makefile
1 parent dc43d07 commit 47866e1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.PHONY: apigen composer test docs mkdocs
22

3-
PHONGO_LIB_VERSION=`php -r 'require "src/Collection.php"; echo MongoDB\Collection::VERSION, "\n";'`
3+
MONGODB_LIB_VERSION=`php -r 'require "src/Collection.php"; echo MongoDB\Collection::VERSION, "\n";'`
44
COMPOSER_ARGS=update --no-interaction --prefer-source
55
PHPUNIT_ARGS=--process-isolation
66

@@ -57,9 +57,9 @@ docs: mkdocs
5757

5858
release: test RELEASE
5959
@echo "Please run:"
60-
@echo " " git add RELEASE-$(PHONGO_LIB_VERSION)
61-
@echo " " git commit -m \"Add $(PHONGO_LIB_VERSION) release notes\"
62-
@echo " " git tag -a -m \"Release phongo-library $(PHONGO_LIB_VERSION)\" $(PHONGO_LIB_VERSION)
60+
@echo " " git add RELEASE-$(MONGODB_LIB_VERSION)
61+
@echo " " git commit -m \"Add $(MONGODB_LIB_VERSION) release notes\"
62+
@echo " " git tag -a -m \"Release MongoDB library $(MONGODB_LIB_VERSION)\" $(MONGODB_LIB_VERSION)
6363
@echo " " git push --tags
6464
@echo " " make release-docs
6565
@echo "And don't forget to bump version in src/Collection.php"
@@ -71,5 +71,5 @@ release-docs: docs
7171
mkdocs gh-deploy --clean
7272

7373
RELEASE:
74-
@git log --pretty=format:"%ad %an <%ae>%n%x09* %s%n" --date short --since="$$(git show -s --format=%ad `git rev-list --tags --max-count=1`)" > RELEASE-$(PHONGO_LIB_VERSION)
74+
@git log --pretty=format:"%ad %an <%ae>%n%x09* %s%n" --date short --since="$$(git show -s --format=%ad `git rev-list --tags --max-count=1`)" > RELEASE-$(MONGODB_LIB_VERSION)
7575

0 commit comments

Comments
 (0)