Skip to content

Commit b810a0c

Browse files
committed
Update version to 1.0.0
1 parent 7eb3c50 commit b810a0c

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

CONTRIBUTING.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,31 @@ robot tests/system
6767
2. Ensure you have run the unit and system tests locally.
6868
3. Ensure that all `pre-commit` hooks pass successfully.
6969
4. Open a Pull Request!
70+
71+
72+
## Releasing
73+
74+
To release a new version of the project, follow these steps:
75+
76+
### 1. Update the version number
77+
Update the version number in:
78+
- `pyproject.toml`
79+
- `src/robot_trace/__init__.py`
80+
81+
### 2. Commit the version change
82+
```sh
83+
git add pyproject.toml src/robot_trace/__init__.py
84+
git commit -m "Bump version to X.Y.Z"
85+
```
86+
87+
### 3. Create a release tag
88+
```sh
89+
git tag vX.Y.Z
90+
git push origin vX.Y.Z
91+
```
92+
93+
### 4. Publish to PyPI
94+
```sh
95+
python -m build
96+
python -m twine upload dist/*
97+
```

robot_trace/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
from .RobotTrace import RobotTrace as robot_trace
22

33
__all__ = ["robot_trace"]
4+
__version__ = "1.0.0"

0 commit comments

Comments
 (0)