Skip to content

Commit

Permalink
add gh commands
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinjqliu committed Dec 5, 2024
1 parent 97d8a32 commit f604c83
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions mkdocs/docs/how-to-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,20 @@ This action will generate two final artifacts:
* `svn-release-candidate-${VERSION}rc${RC}` for SVN
* `pypi-release-candidate-${VERSION}rc${RC}` for PyPi

If `gh` is available, watch the GitHub Action progress using:

```bash
RUN_ID=$(gh run list --repo apache/iceberg-python --workflow "Python Build Release Candidate" --branch "${GIT_TAG}" --event push --json databaseId -q '.[0].databaseId')
echo "Waiting for workflow to complete, this will take several minutes..."
gh run watch $RUN_ID --repo apache/iceberg-python
```

and download the artifacts using:

```bash
gh run download $RUN_ID --repo apache/iceberg-python
```

### Publish Release Candidate (RC)

#### Upload to Apache Dev SVN
Expand Down

0 comments on commit f604c83

Please sign in to comment.