Skip to content

Commit

Permalink
Fix release workflow (#240)
Browse files Browse the repository at this point in the history
* updating release workflow

* comment test pypi since doesn't add value

* add comment on why skipping test pypi

---------

Co-authored-by: Ramon <[email protected]>
  • Loading branch information
w0rmr1d3r and Ramon authored Sep 27, 2023
1 parent 5fc89a6 commit 1e7489f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/pypi-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,17 @@ jobs:
- name: Build a binary wheel
run: python setup.py sdist bdist_wheel

- name: Publish distribution 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.test_pypi_password }}
repository_url: https://test.pypi.org/legacy/
# This doesn't add any value. It mostly passes, and if a release fails in the non-test PyPi
# this step then needs to be skipped.
# Leaving it commented until we find a cause to keep it that adds value to the project.
# - name: Publish distribution 📦 to Test PyPI
# uses: pypa/gh-action-pypi-publish@master
# with:
# password: ${{ secrets.test_pypi_password }}
# repository_url: https://test.pypi.org/legacy/

- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.pypi_password }}
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ All notable changes to this project will be documented in this file.
- `Config` includes a metrics logger, and it is called to register when a filter is used
### Fixes
- Update dependency constraints with `pydash`, to be able to support newer versions and fix security issues
- Fix typo in base_rule actions [#237](https://github.com/Skyscanner/cfripper/pull/237)
- (internal) Updating PyPi release workflow

## [1.13.2]
### Fixes
Expand Down

0 comments on commit 1e7489f

Please sign in to comment.