Skip to content

Add a script to download and stage artifacts #65

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

BewareMyPower
Copy link
Contributor

Motivation & Modifications

Add a script to download and stage artifacts so that we can just use a svn add * command to add them to the central repo.

Verification

Take the 3.0.0-candidate-3 release as example, after configuring the GITHUB_TOKEN environment variable, you only need to run:

# See https://github.com/apache/pulsar-client-python/actions/runs/3709463737
$PROJECT_DIR/build-support/stage-release.sh v3.1.0-candidate-3 3709463737

Then the layout of the current directory will be the same as https://dist.apache.org/repos/dist/dev/pulsar/pulsar-client-python-3.0.0-candidate-3/.

### Motivation & Modifications

Add a script to download and stage artifacts so that we can just use a
`svn add *` command to add them to the central repo.

### Verification

Take the 3.0.0-candidate-3 release as example, after configuring the
`GITHUB_TOKEN` environment variable, you only need to run:

```bash
# See https://github.com/apache/pulsar-client-python/actions/runs/3709463737
$PROJECT_DIR/build-support/stage-release.sh v3.1.0-candidate-3 3709463737
```

Then the layout of the current directory will be the same as
https://dist.apache.org/repos/dist/dev/pulsar/pulsar-client-python-3.0.0-candidate-3/.
@BewareMyPower BewareMyPower merged commit abad572 into apache:main Dec 20, 2022
@BewareMyPower BewareMyPower deleted the bewaremypower/release-scripts branch December 20, 2022 15:01
@BewareMyPower BewareMyPower added this to the 3.1.0 milestone Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants