-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Update contributing documentation (#876)
* docs: Update contributing documentation * Add change file
- Loading branch information
1 parent
b3e01eb
commit 448ade1
Showing
4 changed files
with
47 additions
and
29 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
kind: Documentation | ||
body: Update contributing documentation | ||
time: 2023-06-03T12:14:38.43441-06:00 | ||
custom: | ||
Issue: "876" |
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
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
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 |
---|---|---|
@@ -1,18 +1,24 @@ | ||
# Publish a new version to PyPI | ||
|
||
1. Trigger the [Generate release Pull Request][gen-release-pr] workflow with the | ||
desired package version. | ||
1. Trigger the [Generate release Pull Request][gen-release-pr] workflow. | ||
|
||
The [GitHub CLI](https://github.com/cli/cli/) is very convenient for this: | ||
|
||
```console | ||
$ gh workflow run | ||
? Select a workflow Generate release Pull Request (gen-release-pr.yml) | ||
? changie-version 1.7.0 | ||
? next-version patch | ||
$ gh workflow run gen-release-pr.yml | ||
✓ Created workflow_dispatch event for gen-release-pr.yml at main | ||
|
||
To see runs for this workflow, try: gh run list --workflow=gen-release-pr.yml | ||
``` | ||
|
||
````{tip} | ||
You can specify the bump type, prerelease and metadata with the `-f` option: | ||
|
||
```shell | ||
gh workflow run gen-release-pr.yml -f next-version=minor -f prerelease=b1 | ||
``` | ||
```` | ||
|
||
1. Create a [release](https://github.com/edgarrmondragon/citric/releases/new). | ||
1. Validate the release notes and publish the generated [draft release](https://github.com/edgarrmondragon/citric/releases). | ||
|
||
[gen-release-pr]: https://github.com/edgarrmondragon/citric/actions/workflows/gen-release-pr.yml |