Skip to content

Commit a7ea68b

Browse files
committed
Update instructions for publishing a release
1 parent cc7101f commit a7ea68b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

CONTRIBUTING.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
- [Signing your work](#signing-your-work)
55
- [How to sign off your commits](#how-to-sign-off-your-commits)
66
- [Development](#development)
7-
- [Environment variables](#environment-variables)
7+
- [Environment variables](#environment-variables)
88
- [Publishing a release](#publishing-a-release)
99

1010
## Making a contribution
@@ -106,20 +106,20 @@ pip install -e .
106106

107107
## Publishing a release
108108

109-
This project has a [GitHub Actions workflow](https://github.com/replicate/replicate-python/blob/ab4439ee02d1f157cd3b904f5e0232b69bbae707/.github/workflows/ci.yaml#L37-L63) that publishes the `replicate` package to PyPI. The release process is triggered by manually creating and pushing a new git tag.
109+
This project has a [GitHub Actions workflow](/.github/workflows/ci.yaml) that publishes the `replicate` package to PyPI. The release process is triggered by manually creating and pushing a new git tag.
110110

111-
First, set the version number in [replicate/__about__.py](replicate/__about__.py) and commit it to the `main` branch:
111+
First, set the version number in [pyproject.toml](pyproject.toml) and commit it to the `main` branch:
112112

113113
```
114-
__version__ = "0.0.1a7"
114+
version = "0.7.0"
115115
```
116116

117117
Then run the following in your local checkout:
118118

119119
```sh
120120
git checkout main
121121
git fetch --all --tags
122-
git tag 0.0.1a7
122+
git tag 0.7.0
123123
git push --tags
124124
```
125125

0 commit comments

Comments
 (0)