You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: RELEASING.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,15 +33,15 @@ pip install hatch
33
33
pytest
34
34
```
35
35
36
-
2.**Bump the version**in `pyproject.toml`using `hatch`:
36
+
2.**Bump the version** using `hatch`:
37
37
38
38
Or set a specific version directly:
39
39
40
40
```bash
41
41
hatch version 0.1.0a1
42
42
```
43
43
44
-
> This edits `pyproject.toml` in place. Verify the new version with `hatch version`.
44
+
> This edits `src/aio_lib_sandbox/__init__.py` in place because `pyproject.toml` uses Hatch's dynamic version path. Verify the new version with `hatch version`.
45
45
46
46
3.**Do a dry-run build** to catch any packaging issues before committing:
47
47
@@ -54,7 +54,7 @@ pip install hatch
54
54
4.**Commit and tag** the version bump:
55
55
56
56
```bash
57
-
git add pyproject.toml
57
+
git add src/aio_lib_sandbox/__init__.py
58
58
git commit -m "chore: release v$(hatch version)"
59
59
git tag "v$(hatch version)"
60
60
```
@@ -66,7 +66,7 @@ pip install hatch
66
66
git push origin "v$(hatch version)"
67
67
```
68
68
69
-
6.**CI publishes to PyPI automatically.** The `on-push-publish-to-pypi` workflow triggers because `pyproject.toml` changed on `main`. Monitor progress in the [Actions tab](https://github.com/adobe/aio-lib-sandbox-python/actions).
69
+
6.**CI publishes to PyPI automatically.** The `on-push-publish-to-pypi` workflow triggers because `src/aio_lib_sandbox/__init__.py` changed on `main`. Monitor progress in the [Actions tab](https://github.com/adobe/aio-lib-sandbox-python/actions).
0 commit comments