From cb62d904bf4943351d26809114de89d520d14ce4 Mon Sep 17 00:00:00 2001 From: "Jurriaan H. Spaaks" Date: Tue, 25 Jun 2019 13:31:35 +0200 Subject: [PATCH] prep release 1.2.0 --- CHANGELOG.rst | 5 +++++ CITATION.cff | 4 ++-- cffconvert/version.py | 2 +- test/cli_test.py | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index aa259b2d..744251c6 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,3 +1,8 @@ +1.2.0 +===== + +- corrected an error where cffconvert could not raise an error during validation (https://github.com/citation-file-format/cff-converter-python/issues/94). + 1.1.0 ===== diff --git a/CITATION.cff b/CITATION.cff index 6466e789..25980f56 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -21,7 +21,7 @@ authors: given-names: Stephan orcid: https://orcid.org/0000-0003-4925-7248 cff-version: "1.0.3" -date-released: 2019-04-04 +date-released: 2019-06-25 doi: 10.5281/zenodo.1162057 keywords: - "citation" @@ -32,4 +32,4 @@ license: Apache-2.0 message: "If you use this software, please cite it using these metadata." repository-code: "https://github.com/citation-file-format/cff-converter-python" title: cffconvert -version: "1.1.0" +version: "1.2.0" diff --git a/cffconvert/version.py b/cffconvert/version.py index 51b4d9ed..3ffda9ca 100644 --- a/cffconvert/version.py +++ b/cffconvert/version.py @@ -1,4 +1,4 @@ # from https://stackoverflow.com/questions/2058802/how-can-i-get-the-version-defined # -in-setup-py-setuptools-in-my-package#answer-24517154 -__version__ = "1.1.0" +__version__ = "1.2.0" diff --git a/test/cli_test.py b/test/cli_test.py index 5ee4a458..b5c2fde2 100644 --- a/test/cli_test.py +++ b/test/cli_test.py @@ -31,7 +31,7 @@ def test_printing_of_help(self): def test_printing_of_version(self): result = self.runner.invoke(cffconvert_cli, ["--version"]) self.assertTrue(result.exit_code == 0) - self.assertEqual(result.output, "1.1.0\n") + self.assertEqual(result.output, "1.2.0\n") def test_printing_when_verbose(self): result = self.runner.invoke(cffconvert_cli, ["--verbose"])