Skip to content

Commit

Permalink
Integrate release tool and fix current released version information. fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dbu committed Oct 19, 2013
1 parent dff0f02 commit 8505f75
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 7 deletions.
14 changes: 14 additions & 0 deletions .rmt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
vcs: git
version-generator: semantic
version-persister: vcs-tag
prerequisites:
- working-copy-check
- display-last-changes
pre-release-actions:
changelog-update:
format: addTop
file: CHANGELOG.md
insert-at: 3
update-version-class:
class: Doctrine\ODM\PHPCR\Version
vcs-commit: ~
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Changelog
=========

1.0.0
-----

* **2013-10-10**: Depend on stable version of PHPCR

1.0.0-RC3
---------
Expand Down Expand Up @@ -124,5 +128,4 @@ Changelog
->execute(Query::HYDRATE_PHPCR);
* CreateQuery($statement, $language) has NOT been implemented in the new query builder.
It is, however, still available in the DocumentManager.
* DocumentManager->getDocumentsByQuery renamed to getDocumentsByPhpcrQuery()

* DocumentManager->getDocumentsByQuery renamed to getDocumentsByPhpcrQuery()
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"phpcr/phpcr-utils": "~1.0.0"
},
"require-dev": {
"symfony/yaml": "~2.0"
"symfony/yaml": "~2.0",
"liip/rmt": "dev-master"
},
"suggest":{
"symfony/yaml": "~2.0",
Expand Down
8 changes: 4 additions & 4 deletions lib/Doctrine/ODM/PHPCR/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
*/
class Version
{
/**
* Current version of PHPCR ODM
*/
const VERSION = '1.0.0-beta-4';
/**
* Current version of PHPCR ODM
*/
const VERSION = '1.0.0';
}
4 changes: 4 additions & 0 deletions release/RMT
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env php
<?php
define('RMT_ROOT_DIR', __DIR__ . '/..');
require RMT_ROOT_DIR . '/vendor/liip/rmt/command.php';

0 comments on commit 8505f75

Please sign in to comment.