Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongo-php-library
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sinan
mongo-php-library
Commits
47866e16
Commit
47866e16
authored
Mar 24, 2015
by
Jeremy Mikola
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename version variable in Makefile
parent
dc43d074
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Makefile
Makefile
+5
-5
No files found.
Makefile
View file @
47866e16
.PHONY
:
apigen composer test docs mkdocs
PHONGO
_LIB_VERSION
=
`
php
-r
'require "src/Collection.php"; echo MongoDB\Collection::VERSION, "\n";'
`
MONGODB
_LIB_VERSION
=
`
php
-r
'require "src/Collection.php"; echo MongoDB\Collection::VERSION, "\n";'
`
COMPOSER_ARGS
=
update
--no-interaction
--prefer-source
PHPUNIT_ARGS
=
--process-isolation
...
...
@@ -57,9 +57,9 @@ docs: mkdocs
release
:
test RELEASE
@
echo
"Please run:"
@
echo
" "
git add RELEASE-
$(
PHONGO
_LIB_VERSION)
@
echo
" "
git commit
-m
\"
Add
$(
PHONGO
_LIB_VERSION)
release notes
\"
@
echo
" "
git tag
-a
-m
\"
Release
phongo-library
$(PHONGO_LIB_VERSION)
\"
$(PHONGO
_LIB_VERSION)
@
echo
" "
git add RELEASE-
$(
MONGODB
_LIB_VERSION)
@
echo
" "
git commit
-m
\"
Add
$(
MONGODB
_LIB_VERSION)
release notes
\"
@
echo
" "
git tag
-a
-m
\"
Release
MongoDB library
$(MONGODB_LIB_VERSION)
\"
$(MONGODB
_LIB_VERSION)
@
echo
" "
git push
--tags
@
echo
" "
make release-docs
@
echo
"And don't forget to bump version in src/Collection.php"
...
...
@@ -71,5 +71,5 @@ release-docs: docs
mkdocs gh-deploy
--clean
RELEASE
:
@
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)
@
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)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment