Skip to content

Commit

Permalink
Update release action to use real pypi server (#2654)
Browse files Browse the repository at this point in the history
* use real pypi

* update release notes
  • Loading branch information
thehomebrewnerd authored Feb 8, 2024
1 parent 431422e commit 68bfad5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
on:
release:
types: [published, prereleased]
# Use prereleased for testing, will remove later.
types: [published]

name: Release
jobs:
Expand All @@ -24,11 +23,8 @@ jobs:
- name: Build distribution
run: python -m build

# Trying to publish to TestPyPI first - will update when this works
- name: Publish package distributions to TestPyPI
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
- name: Run workflow to create feedstock pull request
run: |
gh workflow run create_feedstock_pr.yaml --repo "alteryx/featuretools" -f version=${{ github.event.release.tag_name }}
Expand Down
2 changes: 1 addition & 1 deletion docs/source/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Future Release
* Testing Changes
* Update tests for compatibility with new versions of ``holidays`` (:pr:`2636`)
* Update ruff to 0.1.6 and use ruff linter/formatter (:pr:`2639`)
* Update ``release.yaml`` to use trusted publisher for PyPI releases (:pr:`2646`, :pr:`2653`)
* Update ``release.yaml`` to use trusted publisher for PyPI releases (:pr:`2646`, :pr:`2653`, :pr:`2654`)


Thanks to the following people for contributing to this release:
Expand Down

0 comments on commit 68bfad5

Please sign in to comment.