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
6bb143c2
Commit
6bb143c2
authored
May 12, 2015
by
Jeremy Mikola
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use dynamic release/VERSION make target
parent
264a911b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
12 deletions
+8
-12
Makefile
Makefile
+8
-12
No files found.
Makefile
View file @
6bb143c2
.PHONY
:
apigen composer test docs mkdocs
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
...
...
@@ -54,15 +53,13 @@ docs-api: apigen
docs
:
mkdocs
release
:
test RELEASE
release/%
:
release-log/%
@
echo
"Please run:"
@
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"
@
echo
" "
git add RELEASE-
$
(
*
)
@
echo
" "
git commit
-m
\"
Add
$
(
*
)
release notes
\"
@
echo
" "
git tag
-a
-m
\"
Release MongoDB library
$
(
*
)
\"
$
(
*
)
@
echo
" "
git push
--tags
@
echo
" "
make release-docs
docs
:
mkdocs build
--clean
...
...
@@ -70,6 +67,5 @@ docs:
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-
$(MONGODB_LIB_VERSION)
release-log/%
:
@
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-
$
(
*
)
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