Skip to content

Commit 908007f

Browse files
authored
update docs about the release process (#2509)
1 parent 9934697 commit 908007f

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

CONTRIBUTING.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,10 @@ To publish a prerelease version, append a [SemVer prerelease identifer](https://
282282

283283
### Create a release
284284

285-
To publish a new release `v0.13.12` referencing commit `fabdadbead`, for example, one would run the following in one's local checkout of cog:
285+
Run these commands to publish a new release `v0.13.12` referencing commit `fabdadbead`:
286286

287+
git checkout main
288+
git fetch --all --tags
287289
git tag --sign --annotate --message 'Release v0.13.12' v0.13.12 fabdadbead
288290
git push origin v0.13.12
289291

@@ -296,6 +298,15 @@ The release workflow will halt until another member of the team approves the rel
296298

297299
Ping someone on the team to review and approve the release.
298300

301+
### Convert your git tag to a GitHub release
302+
303+
Once the release is published, convert your git tag to a proper GitHub release:
304+
305+
1. Visit [github.com/replicate/cog/tags](https://github.com/replicate/cog/tags)
306+
2. Click on your tag
307+
3. Click "Create release from tag"
308+
4. Add release notes and publish the release
309+
299310

300311
## Troubleshooting
301312

0 commit comments

Comments
 (0)