Skip to content

Commit

Permalink
Do not publish source distributions to PyPI (#429)
Browse files Browse the repository at this point in the history
  • Loading branch information
priitlatt authored Sep 20, 2024
1 parent 906eac1 commit f4389f7
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Version 0.53.9
-------------

**Development**
- Change release pipeline not to include source distributions in PyPI releases. Those are still available from GitHub. [PR #429](https://github.com/codemagic-ci-cd/cli-tools/pull/429)

Version 0.53.8
-------------

Expand Down
5 changes: 4 additions & 1 deletion codemagic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ workflows:
rm dist/codemagic_cli_tools-latest-py3-none-any.whl
- name: Publish release to PyPI Test environment
script: |
rm dist/codemagic_cli_tools-*.tar.gz
poetry config repositories.test-pypi https://test.pypi.org/legacy/
poetry publish \
--repository test-pypi \
Expand Down Expand Up @@ -127,5 +128,7 @@ workflows:
dist/codemagic*.tar.gz
rm dist/codemagic_cli_tools-latest-py3-none-any.whl
- name: Publish release to PyPI
script: poetry publish --username "__token__" --password "${PYPI_TOKEN:?}"
script: |
rm dist/codemagic_cli_tools-*.tar.gz
poetry publish --username "__token__" --password "${PYPI_TOKEN:?}"
artifacts: *artifacts
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "codemagic-cli-tools"
version = "0.53.8"
version = "0.53.9"
description = "CLI tools used in Codemagic builds"
readme = "README.md"
authors = [
Expand Down
2 changes: 1 addition & 1 deletion src/codemagic/__version__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
__title__ = "codemagic-cli-tools"
__description__ = "CLI tools used in Codemagic builds"
__version__ = "0.53.8.dev"
__version__ = "0.53.9.dev"
__url__ = "https://github.com/codemagic-ci-cd/cli-tools"
__licence__ = "GNU General Public License v3.0"

0 comments on commit f4389f7

Please sign in to comment.