Skip to content

Commit

Permalink
Merge pull request #112 from 0Hughman0/updating-docs
Browse files Browse the repository at this point in the history
added versioning info to contributing
  • Loading branch information
0Hughman0 authored Feb 16, 2024
2 parents dad7af7 + aa78eed commit a8da861
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions doc_src/contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,29 @@ Python Docstrings should use the `numpy standard <https://numpydoc.readthedocs.i

TypeScript docstrings should follow the `TypeDoc standard <https://typedoc.org/guides/tags/>`_

GitHub Repos/ Release Cycle
---------------------------

**It's not worth worrying about getting these bits right, if you have a new feature or fix, just submit the PR and we can work around any versioning issues**

We have a branch for each minor version e.g. 0.1.x and 0.2.x, the head of which should always be the latest patch of that minor release.

For development, we specify the whole planned version number, but add -pre for pre-release e.g. 0.2.4-pre.

We then create branches for implementing specific features, and submit PRs into those pre-release branches as progress is made.

If necessary, we publish a pre-release version, but within pyproject.toml will have to use the poetry spec:

https://python-poetry.org/docs/cli/#version

e.g. the version would be something like 0.2.4a0 for the first pre-release.

Once we are happy with the pre-release, it can be merged (via PR) into the appropriate minor version branch and the pre-release branch can be deleted.

Then we can publish the new minor version using the create-release feature.

To publish a release or pre-release we use the publish feature in GitHub.

We create a new tag for that version, prepending with "v" e.g. `v1.2.3`, the tag should be on the branch, not on main.


0 comments on commit a8da861

Please sign in to comment.