diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 68e357b46f..5ca2edd95c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -7,15 +7,20 @@ jobs: pypi: name: PyPI Release runs-on: ubuntu-latest + permissions: + id-token: write steps: - - uses: actions/checkout@v3 - - name: Remove docs before release - run: rm -rf docs/ - - name: PyPI Upload - uses: FeatureLabs/gh-action-pypi-upload@v2 - env: - PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }} - PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }} - TEST_PYPI_USERNAME: ${{ secrets.TEST_PYPI_USERNAME }} - TEST_PYPI_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }} - TAG_NAME: ${{ github.event.release.tag_name }} + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + - name: Install deps + run: | + python -m pip install --quiet --upgrade pip + python -m pip install --quiet --upgrade build + python -m pip install --quiet --upgrade setuptools + - name: Remove build artifacts and docs + run: | + rm -rf .eggs/ dist/ build/ docs/ + - name: Build distribution + run: python -m build + - name: Publish package distributions to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/docs/source/release_notes.rst b/docs/source/release_notes.rst index 8f110cc3b7..af390a4c24 100644 --- a/docs/source/release_notes.rst +++ b/docs/source/release_notes.rst @@ -1,21 +1,10 @@ Release Notes ------------- **Future Releases** - * Enhancements - * Fixes - * Changes - * Documentation Changes - * Testing Changes - -.. warning:: - - **Breaking Changes** - - -**v0.84.0 Jun 5, 2024** * Enhancements * Reformatted files with updated black version :pr:`4395` * Fixes + * Fixed token issues related to pypi release github action failing :pr:`4446` * Changes * Dropped support for Python 3.8 :pr:`4414` * Removed vowpalwabbit :pr:`4427` diff --git a/evalml/__init__.py b/evalml/__init__.py index 4e9742080a..7642eacc81 100644 --- a/evalml/__init__.py +++ b/evalml/__init__.py @@ -24,4 +24,4 @@ warnings.filterwarnings("ignore", category=FutureWarning) warnings.filterwarnings("ignore", category=DeprecationWarning) -__version__ = "0.84.0" +__version__ = "0.83.0"