Skip to content

Commit

Permalink
update release instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
nllong committed Nov 4, 2021
1 parent ea06e16 commit c7a208c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
__pycache__
*.egg-info
*.pyc
dist

BuildingSync.xsd
BuildingSync-*.xsd
Expand Down
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

Current BuildingSync version: `2.4.0`.

## Installing

`pip install bsyncpy`

## Generating
- `poetry install`
- `poetry run pre-commit install`
Expand Down Expand Up @@ -59,4 +63,13 @@ Check out our example Jupyter Notebook [here](https://nbviewer.jupyter.org/githu
* Bump version in `pyproject.toml` file
* Add CHANGELOG entry
* Update (or add) generator test in `.github/ci.yml`
* Update this README with the latest version of testing.
* Update this README with the latest version of testing.

## Releasing New Version

* Merge everything down to `main`
* `git tag <version>`. Version in the form of vX.Y.Z.
* `git push --tags`.
* Go to GitHub and convert the tag to a release.
* `poetry build`
* `poetry publish`. Login via pypi account.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "bsyncpy"
version = "0.2.0"
description = "Tools to autogenerate a Python SDK for BuildingSync given an XSD"
authors = ["Joel Bender <[email protected]>"]
authors = ["Joel Bender <[email protected]>", "Nicholas Long <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.7.9"
Expand Down

0 comments on commit c7a208c

Please sign in to comment.