diff --git a/.github/workflows/on-release-tag.yml b/.github/workflows/on-release-tag.yml index ff69ab5..cded2f6 100644 --- a/.github/workflows/on-release-tag.yml +++ b/.github/workflows/on-release-tag.yml @@ -21,7 +21,11 @@ jobs: uses: actions/setup-python@v1 with: python-version: '3.x' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install setuptools wheel twine - name: Publish to Pypi run: | - rm -rf dist; VERSION=${{ env.glustercli_version }} python3 setup.py sdist; + rm -rf dist; VERSION=${{ env.glustercli_version }} python3 setup.py sdist bdist_wheel; TWINE_PASSWORD=${{ secrets.TWINE_PASSWORD }} twine upload --username aravindavk dist/*