Add command to release workflow (#4483)

Summary:
# Before submitting

- [ ] Was this discussed/approved via a Github issue? (no need for typos, doc improvements)
- [ ] Did you read the [contributor guideline](https://github.com/pytorch/fairseq/blob/main/CONTRIBUTING.md)?
- [ ] Did you make sure to update the docs?
- [ ] Did you write any new necessary tests?

## What does this PR do?
Fixes # (issue).

## PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

## Did you have fun?
Make sure you had fun coding �

Pull Request resolved: https://github.com/facebookresearch/fairseq/pull/4483

Reviewed By: cbalioglu

Differential Revision: D37098170

Pulled By: dianaml0

fbshipit-source-id: 6413fe0d03586e8b8b81701284cc010eafce7e4a
This commit is contained in:
dianaml0 2022-06-13 07:36:54 -07:00 committed by Facebook GitHub Bot
parent 73b42f0f3e
commit 4bcab98b92

View File

@ -151,6 +151,7 @@ jobs:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
pip install setuptools wheel twine
python3 -m twine upload --repository pypi dist/*
# create the release on github