Skip to content

Commit

Permalink
Revert change to "sed" command in deploy workflow (#64)
Browse files Browse the repository at this point in the history
In #59, we inadvertently reverted the `sed` command in the `deploy`
workflow to the versioneer version. This reintroduces the correct
command from #61.
  • Loading branch information
leouieda authored Oct 27, 2020
1 parent 94cf65f commit 4ab196b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,10 @@ jobs:

- name: Build source and wheel distributions
run: |
# Change the versioneer format to "pre" so that the commit hash isn't
# included (PyPI doesn't allow it). Can't do this permanently because
# we rely the hash to indicate to the tests that this is a local
# verison instead of a published version.
sed --in-place "s/pep440/pep440-pre/g" setup.cfg
# Change setuptools-scm local_scheme to "no-local-version" so the
# local part of the version isn't included, making the version string
# compatible with Test PyPI.
sed --in-place "s/node-and-date/no-local-version/g" setup.py
nox -s build -- list-packages
echo ""
echo "Generated files:"
Expand Down

0 comments on commit 4ab196b

Please sign in to comment.