Skip to content

Commit f604c83

Browse files
committed
add gh commands
1 parent 97d8a32 commit f604c83

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

mkdocs/docs/how-to-release.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,20 @@ This action will generate two final artifacts:
130130
* `svn-release-candidate-${VERSION}rc${RC}` for SVN
131131
* `pypi-release-candidate-${VERSION}rc${RC}` for PyPi
132132

133+
If `gh` is available, watch the GitHub Action progress using:
134+
135+
```bash
136+
RUN_ID=$(gh run list --repo apache/iceberg-python --workflow "Python Build Release Candidate" --branch "${GIT_TAG}" --event push --json databaseId -q '.[0].databaseId')
137+
echo "Waiting for workflow to complete, this will take several minutes..."
138+
gh run watch $RUN_ID --repo apache/iceberg-python
139+
```
140+
141+
and download the artifacts using:
142+
143+
```bash
144+
gh run download $RUN_ID --repo apache/iceberg-python
145+
```
146+
133147
### Publish Release Candidate (RC)
134148

135149
#### Upload to Apache Dev SVN

0 commit comments

Comments
 (0)