Skip to content

Commit

Permalink
Merge pull request #873 from camptocamp/backport/870-to-1.3
Browse files Browse the repository at this point in the history
[Backport 1.3] Also publish source package on pypi
  • Loading branch information
sbrunner authored Nov 22, 2022
2 parents b694766 + 21076f0 commit 6ef1276
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions c2cciutils/publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ def pip(
cmd = ["twine"]
cmd += ["upload", "--verbose", "--disable-progress-bar"] if publish else ["check"]
cmd += glob.glob(os.path.join(cwd, "dist/*.whl"))
cmd += glob.glob(os.path.join(cwd, "dist/*.tar.gz"))
subprocess.check_call(cmd)
print("::endgroup::")
except subprocess.CalledProcessError as exception:
Expand Down

0 comments on commit 6ef1276

Please sign in to comment.