Skip to content

Commit

Permalink
Added step at the end of Step 7 (apache#5)
Browse files Browse the repository at this point in the history
Upload release candidate to PyPi:
This describe how the script deploy_release_candidate_pypi.sh will do the release candidate to PyPI
  • Loading branch information
josiasrico authored Mar 24, 2021
1 parent fb7e9d5 commit 74690b7
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions website/www/site/content/en/contribute/release-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,37 @@ See the source of the script for more details, or to run commands manually in ca
They should contain all relevant parts for each module, including `pom.xml`, jar, test jar, javadoc, etc.
Artifact names should follow [the existing format](https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.apache.beam%22) in which artifact name mirrors directory structure, e.g., `beam-sdks-java-io-kafka`.
Carefully review any new artifacts.
### Upload release candidate to PyPi
* **Script:** [deploy_release_candidate_pypi.sh](https://github.com/apache/beam/blob/master/release/src/main/scripts/deploy_release_candidate_pypi.sh)
* **Usage**
./release/src/main/scripts/deploy_release_candidate_pypi.sh \
--release "${RELEASE_VERSION}" \
--rc "${RC_NUM}" \
--commit "${COMMIT_REF}" \
--user "${GITHUB_USER}" \
--deploy
* **The script will:**
1. Download source distribution and wheels tagged as `rc`.
1. Deploy release candidate to PyPI
__Attention:__ Verify that the following files are correct at [Dowload Files](https://pypi.org/project/apache-beam/#files):
* All wheels should be published
* Release source's zip should be published
* Signatures and hashes do not need to be uploaded
* There should be a pre-release version with the `rc` tag
You can do a dry run by omitting the `--deploy` flag. Then it will only download the release candidate binaries. If it looks good, rerun it with `--deploy`.
See the source of the script for more details or to run commands manually in case of a problem.
**********
Expand Down

0 comments on commit 74690b7

Please sign in to comment.