Skip to content

Commit 0625639

Browse files
Merge pull request #186 from CITCOM-project/dev_docs
Version Release Docs
2 parents bc13d84 + 763fb12 commit 0625639

File tree

3 files changed

+37
-1
lines changed

3 files changed

+37
-1
lines changed

docs/source/dev/version_release.rst

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
Version Releases
2+
================
3+
4+
This project follows the `Semantic Versioning 2.0.0 <https://semver.org/>`_ style for code releases.
5+
This page aims to describe the release process for a new code version on the `Project Github <https://github.com/CITCOM-project/CausalTestingFramework>`_
6+
7+
How to release
8+
--------------
9+
10+
#. Once your PR(s) are merged, navigate to https://github.com/CITCOM-project/CausalTestingFramework/releases, which can be found on the right hand side of the projects Github main page by clicking on 'Releases'
11+
12+
#. Press the **Draft a new release** button in the top right of the releases page
13+
14+
#. Press the **Choose a tag** button and add the new version following the Semantic Version guidelines. Please include the 'v' before the tag, e.g. **v0.0.0**
15+
16+
#. Enter the same tag name into the **Release Title** box
17+
18+
#. Press **Generate Release Notes** button
19+
20+
#. Add any additional information that may be helpful to the release notes. If there are breaking changes for example, which modules will they affect?
21+
22+
#. Ensure the **Set as the latest release** checkbox is selected
23+
24+
#. Press publish release
25+
26+
#. Check that the Github Action worker, found in the `Actions tab <https://github.com/CITCOM-project/CausalTestingFramework/actions>`_ on the github, has successfully completed. Typical time to publish to PyPI is around 2 minutes.
27+
28+
#. Check on the projects `PyPI page <https://pypi.org/project/causal-testing-framework/>`_ that the latest release is ready!
29+
30+
From here the latest version can be installed using the common pip version commands. e.g. ``pip install causal-testing-framework==0.0.0``

docs/source/index.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ system-under-test that is expected to cause a change to some output(s).
4949

5050
glossary
5151

52+
.. toctree::
53+
:maxdepth: 1
54+
:caption: Development Documentation
55+
56+
/dev/version_release
57+
5258
Indices and tables
5359
==================
5460

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ dependencies = [
1919
"fitter~=1.4",
2020
"lhsmdu~=1.1",
2121
"networkx~=2.6",
22-
"numpy~=1.22",
22+
"numpy~=1.22.0",
2323
"pandas~=1.3",
2424
"scikit_learn~=1.1",
2525
"scipy~=1.7",

0 commit comments

Comments
 (0)