From 8505f75e62afc6e4e5c70715c6ca707ef5075e62 Mon Sep 17 00:00:00 2001 From: David Buchmann Date: Sat, 19 Oct 2013 12:13:20 +0200 Subject: [PATCH] Integrate release tool and fix current released version information. fix #357 --- .rmt.yml | 14 ++++++++++++++ CHANGELOG.md | 7 +++++-- composer.json | 3 ++- lib/Doctrine/ODM/PHPCR/Version.php | 8 ++++---- release/RMT | 4 ++++ 5 files changed, 29 insertions(+), 7 deletions(-) create mode 100644 .rmt.yml create mode 100755 release/RMT diff --git a/.rmt.yml b/.rmt.yml new file mode 100644 index 000000000..c01801b00 --- /dev/null +++ b/.rmt.yml @@ -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: ~ diff --git a/CHANGELOG.md b/CHANGELOG.md index 365167b0f..2ab5f5f2e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ Changelog ========= +1.0.0 +----- + +* **2013-10-10**: Depend on stable version of PHPCR 1.0.0-RC3 --------- @@ -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() \ No newline at end of file diff --git a/composer.json b/composer.json index c846df986..1eb7c7442 100644 --- a/composer.json +++ b/composer.json @@ -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", diff --git a/lib/Doctrine/ODM/PHPCR/Version.php b/lib/Doctrine/ODM/PHPCR/Version.php index 5904e5a76..9fed44072 100644 --- a/lib/Doctrine/ODM/PHPCR/Version.php +++ b/lib/Doctrine/ODM/PHPCR/Version.php @@ -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'; } diff --git a/release/RMT b/release/RMT new file mode 100755 index 000000000..9f7a47119 --- /dev/null +++ b/release/RMT @@ -0,0 +1,4 @@ +#!/usr/bin/env php +