-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR adds some docs for the release process. --------- Co-authored-by: jakirkham <[email protected]>
- Loading branch information
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,5 +49,28 @@ contributing to. Start with _Step 3_ from above, commenting on the issue to let | |
others know you are working on it. If you have any questions related to the | ||
implementation of the issue, ask them in the issue instead of the PR. | ||
|
||
## Releases | ||
|
||
The release process for pynvjitlink involves the following steps: | ||
|
||
- Open a PR to update `pynvjitlink/VERSION` to the desired version. | ||
- Generate a short changelog with `git log v<PREVIOUS_VERSION>..HEAD --oneline --pretty=format:"- %s"` | ||
- Put the changelog in the version update PR description. | ||
- Once `main` is updated, tag the release: | ||
``` | ||
git checkout main && git pull | ||
git tag -a v<VERSION> | ||
``` | ||
- For the tag annotation, paste the same changelog as above, like this: | ||
``` | ||
v<VERSION> | ||
- ... (bullet points on release items) | ||
``` | ||
- Push the tag: | ||
``` | ||
git push [email protected]:rapidsai/pynvjitlink.git v<VERSION> | ||
``` | ||
|
||
## Attribution | ||
Portions adopted from https://github.com/pytorch/pytorch/blob/master/CONTRIBUTING.md |