Skip to content

Commit b36da14

Browse files
authored
Release v1.2.0-rc.1 (#173)
1 parent 77e0c95 commit b36da14

File tree

5 files changed

+21
-17
lines changed

5 files changed

+21
-17
lines changed

CHANGES.rst

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ This is a record of all past ``respy`` releases and what went into them in rever
55
chronological order. We follow `semantic versioning <https://semver.org/>`_ and all
66
releases are available on `PyPI <https://pypi.org/project/respy/>`_.
77

8-
2.0.0 - 2019-
9-
-------------
8+
1.2.0 - 2019-04-23
9+
------------------
1010

1111
- `#162 <https://github.com/OpenSourceEconomics/respy/pull/162>`_ is a wrapper around
1212
multiple PRs in which a new Python version is implemented.
@@ -15,10 +15,13 @@ releases are available on `PyPI <https://pypi.org/project/respy/>`_.
1515
- `#133 <https://github.com/OpenSourceEconomics/respy/pull/133>`_ and `#140
1616
<https://github.com/OpenSourceEconomics/respy/pull/140>`_ add Appveyor to test respy
1717
on Windows.
18-
- `#67 <https://github.com/OpenSourceEconomics/respy/pull/67>`_ removes everything
19-
related to ambiguity.
2018

21-
1.0.0 - 2016-09-01
19+
1.1.0 - 2018-03-02
20+
------------------
21+
22+
- Undocumented release
23+
24+
1.0.0 - 2016-08-10
2225
------------------
2326

2427
This is the initial release of the ``respy`` package.

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
author = "Philipp Eisenhauer"
1717

1818
# The short X.Y version.
19-
version = "2.0"
19+
version = "1.2"
2020
# The full version, including alpha/beta/rc tags.
21-
release = "2.0.0dev20"
21+
release = "1.2.0-rc.1"
2222

2323
# -- General configuration ------------------------------------------------
2424

docs/releases.rst

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,21 @@ What is the new version number?
55
-------------------------------
66

77
The version number depends on the severity of the changes and adheres to `semantic
8-
versioning <https://semver.org/>`_.
8+
versioning <https://semver.org/>`_. The format is x.y.z.
99

10-
You are also allowed to append ``rc1`` after the last digit to indicate the first or
11-
higher release candidates. By that, you can test the release and deployment on PyPI and
12-
release preliminary versions.
10+
You are also allowed to append ``-rc.1`` after the last digit to indicate the first or
11+
higher release candidates. Thus, you can test deployment on PyPI and release preliminary
12+
versions.
1313

1414

1515
How to release a new version?
1616
-----------------------------
1717

18-
1. At first, we need to create a new PR to prepare everything for the new version. We
19-
need to
18+
1. At first, we need to create a new PR to prepare everything for the new version. The
19+
name of the PR and the commit message will be "Release vx.y.z". We need to
2020

21-
- update all mentions of the old version number
21+
- update all references of the old version number (``setup.py``,
22+
``respy/__init__.py``, ``docs/conf.py``).
2223
- update information in ``CHANGES.rst`` to have summary of the changes which
2324
can also be posted in the Github repository under the tag.
2425

@@ -28,7 +29,7 @@ How to release a new version?
2829

2930
.. code-block:: bash
3031
31-
$ git tag -m "x.x.x"
32+
$ git tag -m "x.y.z"
3233
3334
to create a tag with the version number. After that, you need to push the tag to the
3435
remote repository which triggers a Travis-CI build and deployment to PyPI.

respy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
if not IS_DEBUG:
1717
warnings.simplefilter(action="ignore", category=FutureWarning)
1818

19-
__version__ = "2.0.0.dev20"
19+
__version__ = "1.2.0-rc.1"
2020

2121

2222
def test(opt=None):

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def setup_package():
5858
"pre_processing/base_spec.csv",
5959
]
6060
},
61-
version="2.0.0.dev20",
61+
version="1.2.0-rc.1",
6262
description=(
6363
"respy is a Python package for the simulation and estimation of a "
6464
"prototypical finite-horizon dynamic discrete choice model."

0 commit comments

Comments
 (0)